##// END OF EJS Templates
shorten qt4 ctrl-C message to one line
MinRK -
Show More
@@ -94,11 +94,7 b' def create_inputhook_qt4(mgr, app=None):'
94 94 except KeyboardInterrupt:
95 95 ignore_CTRL_C()
96 96 got_kbdint[0] = True
97 print("\nKeyboardInterrupt - qt4 event loop interrupted!"
98 "\n * hit CTRL+C again to clear the prompt"
99 "\n * use '%gui none' to disable the event loop"
100 " permanently"
101 "\n and '%gui qt4' to re-enable it later")
97 print("\nKeyboardInterrupt - Ctrl-C again for new prompt")
102 98 mgr.clear_inputhook()
103 99 except: # NO exceptions are allowed to escape from a ctypes callback
104 100 ignore_CTRL_C()
General Comments 0
You need to be logged in to leave comments. Login now