Skip to content

Commit

Permalink
Merge 2518cf8 into 06cd544
Browse files Browse the repository at this point in the history
  • Loading branch information
impact27 committed Mar 22, 2019
2 parents 06cd544 + 2518cf8 commit 090616a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qtconsole/console_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -2088,7 +2088,9 @@ def _insert_plain_text(self, cursor, text, flush=False):
cursor.endEditBlock()

if self._executing and end_doc_pos - end_scroll_pos <= 1:
self._control.moveCursor(QtGui.QTextCursor.End)
end_scroll = (self._control.verticalScrollBar().maximum()
- self._control.verticalScrollBar().pageStep())
self._control.verticalScrollBar().setValue(end_scroll)

def _insert_plain_text_into_buffer(self, cursor, text):
""" Inserts text into the input buffer using the specified cursor (which
Expand Down

0 comments on commit 090616a

Please sign in to comment.