From e56dd6032c461c91b7dd7cf055365af7746dc99e Mon Sep 17 00:00:00 2001 From: jsbautista Date: Mon, 21 Oct 2024 08:23:39 -0500 Subject: [PATCH] add comment to test --- qtconsole/tests/test_ansi_code_processor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qtconsole/tests/test_ansi_code_processor.py b/qtconsole/tests/test_ansi_code_processor.py index 48909b62..11d0a200 100644 --- a/qtconsole/tests/test_ansi_code_processor.py +++ b/qtconsole/tests/test_ansi_code_processor.py @@ -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)):