From e2cd0fd9c7999cfec0944f2685c7f0ad40e63b31 2010-08-18 16:29:59 From: epatters Date: 2010-08-18 16:29:59 Subject: [PATCH] Fixed rare bug with continuation prompt deletion. --- diff --git a/IPython/frontend/qt/console/console_widget.py b/IPython/frontend/qt/console/console_widget.py index 439b7ca..a950890 100644 --- a/IPython/frontend/qt/console/console_widget.py +++ b/IPython/frontend/qt/console/console_widget.py @@ -672,6 +672,8 @@ class ConsoleWidget(QtGui.QWidget): cursor.movePosition(QtGui.QTextCursor.StartOfBlock, QtGui.QTextCursor.KeepAnchor) cursor.removeSelectedText() + cursor.deletePreviousChar() + intercepted = True # Regular backwards deletion else: