Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Cordoba <[email protected]>
  • Loading branch information
dalthviz and ccordoba12 authored Aug 15, 2024
1 parent 3ee5110 commit 55b8c2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qtconsole/console_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def _append_custom(self, insert, input, before_prompt=False, *args, **kwargs):
and self._append_before_prompt_pos != self._get_end_pos():
cursor.setPosition(self._append_before_prompt_pos)

# If we're appending on the same line as the prompt, use insert mode
# If we're appending on the same line as the prompt, use insert mode.
# If so, the character at self._append_before_prompt_pos will not be a newline
cursor.movePosition(QtGui.QTextCursor.Right,
QtGui.QTextCursor.KeepAnchor)
Expand Down Expand Up @@ -1697,7 +1697,7 @@ def _flush_pending_stream(self):
"""
Flush pending text into the widget.
Only applies to text that is pending when the console is in the
It only applies to text that is pending when the console is in the
running state. Text printed when console is not running is shown
immediately, and does not wait to be flushed.
"""
Expand Down

0 comments on commit 55b8c2e

Please sign in to comment.