diff options
| author | elioat <elioat@tilde.institute> | 2025-11-15 21:12:20 -0500 |
|---|---|---|
| committer | elioat <elioat@tilde.institute> | 2025-11-15 21:12:20 -0500 |
| commit | 73c8e8d63af17a6e1440b4190255f8cae0c5c980 (patch) | |
| tree | 40c607cc452b89a89458e7bc4ed22cad0c607e81 /tinybasic | |
| parent | 333af2a092a77437e1d933b610ffded83449a5d2 (diff) | |
| download | tour-73c8e8d63af17a6e1440b4190255f8cae0c5c980.tar.gz | |
Handle echo manually to avoid blank lines after input
When echo is disabled, the terminal adds a blank line after the user
presses enter. We now manually echo just the text (trimmed) with a
single newline, avoiding the extra blank line.
This gives clean output with no extra spacing between user input and
incoming messages.
Diffstat (limited to 'tinybasic')
0 files changed, 0 insertions, 0 deletions