Skip to content

Commit

Permalink
shorten qt4 ctrl-C message to one line
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Dec 15, 2011
1 parent bd50323 commit a5df66a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions IPython/lib/inputhookqt4.py
Expand Up @@ -94,11 +94,7 @@ def inputhook_qt4():
except KeyboardInterrupt:
ignore_CTRL_C()
got_kbdint[0] = True
print("\nKeyboardInterrupt - qt4 event loop interrupted!"
"\n * hit CTRL+C again to clear the prompt"
"\n * use '%gui none' to disable the event loop"
" permanently"
"\n and '%gui qt4' to re-enable it later")
print("\nKeyboardInterrupt - Ctrl-C again for new prompt")
mgr.clear_inputhook()
except: # NO exceptions are allowed to escape from a ctypes callback
ignore_CTRL_C()
Expand Down

0 comments on commit a5df66a

Please sign in to comment.