Skip to content

Commit

Permalink
add comment to test
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbautista committed Oct 21, 2024
1 parent c7b4589 commit e56dd60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qtconsole/tests/test_ansi_code_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ def test_move_cursor_up(self):
"""Are the ANSI commands for the cursor movement actions
(movement up and to the beginning of the line) processed correctly?
"""
#This line moves the cursor up once, then moves it up five more lines.
#Next, it moves the cursor to the beginning of the previous line, and
#finally moves it to the beginning of the fifth line above the current
#position
string = '\x1b[A\x1b[5A\x1b[F\x1b[5F'
i = -1
for i, substring in enumerate(self.processor.split_string(string)):
Expand Down

0 comments on commit e56dd60

Please sign in to comment.