diff --git a/IPython/frontend/qt/console/history_console_widget.py b/IPython/frontend/qt/console/history_console_widget.py index 8f24e70..9201c7a 100644 --- a/IPython/frontend/qt/console/history_console_widget.py +++ b/IPython/frontend/qt/console/history_console_widget.py @@ -90,7 +90,7 @@ class HistoryConsoleWidget(ConsoleWidget): # and the cursor is at the end of the first line # check if we are at the end of the first line - c = self._get_prompt_cursor() + c = self._get_cursor() current_pos = c.position() c.movePosition(QtGui.QTextCursor.EndOfLine) at_eol = (c.position() == current_pos)