##// END OF EJS Templates
FIX: Ctrl-D line deletion doesn't remove continuation prompt....
Bradley M. Froehle -
Show More
@@ -1114,9 +1114,16 b' class ConsoleWidget(LoggingConfigurable, QtGui.QWidget):'
1114 1114 cursor.setPosition(position, QtGui.QTextCursor.KeepAnchor)
1115 1115 self._kill_ring.kill_cursor(cursor)
1116 1116 intercepted = True
1117
1117 1118 elif key == QtCore.Qt.Key_D:
1118 1119 if len(self.input_buffer) == 0:
1119 1120 self.exit_requested.emit(self)
1121 else:
1122 new_event = QtGui.QKeyEvent(QtCore.QEvent.KeyPress,
1123 QtCore.Qt.Key_Delete,
1124 QtCore.Qt.NoModifier)
1125 QtGui.qApp.sendEvent(self._control, new_event)
1126 intercepted = True
1120 1127
1121 1128 #------ Alt modifier ---------------------------------------------------
1122 1129
General Comments 0
You need to be logged in to leave comments. Login now