diff options
| author | ruki <[email protected]> | 2025-10-27 23:02:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-27 23:02:06 +0800 |
| commit | 988bc41fb22cdd7e4e005fc985576d46b2fe20d9 (patch) | |
| tree | 8c370783dd532b6cd8bec516af2644167ce22a4a /tests/modules/tty | |
| parent | 482a5aa7aa91c81017f272aa5947b24fc21a4615 (diff) | |
fix review issues
Diffstat (limited to 'tests/modules/tty')
| -rw-r--r-- | tests/modules/tty/cursor_control.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modules/tty/cursor_control.lua b/tests/modules/tty/cursor_control.lua index 18e8cfb7d..4502617eb 100644 --- a/tests/modules/tty/cursor_control.lua +++ b/tests/modules/tty/cursor_control.lua @@ -117,11 +117,11 @@ function main() tty.cursor_move_up(2) tty.cr() tty.erase_line() - io.write("Line 2: Updated content! ✓") + io.write("Line 2: Updated content! ✓\n") io.flush() -- Move cursor to end - tty.cursor_move_down(2) + tty.cursor_move_down(1) print("\n\nAll demos completed!") print("\nKey features demonstrated:") print(" - cursor_move_up/down/left/right: Move cursor relatively") |
