Skip to content

Fix CLI display corruption when input exceeds terminal width#5588

Merged
StachuDotNet merged 1 commit intodarklang:mainfrom
OceanOak:cli-bug-fix
Mar 12, 2026
Merged

Fix CLI display corruption when input exceeds terminal width#5588
StachuDotNet merged 1 commit intodarklang:mainfrom
OceanOak:cli-bug-fix

Conversation

@OceanOak
Copy link
Copy Markdown
Collaborator

@OceanOak OceanOak commented Jan 23, 2026

When user input is long enough to wrap past the terminal width, the prompt redraw was broken (cursor positioning assumed a single line)
Now we track count between frames and positions cursor correctly for wrapped input

@StachuDotNet
Copy link
Copy Markdown
Member

Is this still relevant?

@OceanOak OceanOak changed the title WIP: Fix CLI display corruption when input exceeds terminal width Fix CLI display corruption when input exceeds terminal width Mar 12, 2026
@OceanOak OceanOak marked this pull request as ready for review March 12, 2026 10:44
@StachuDotNet StachuDotNet merged commit bb8d984 into darklang:main Mar 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants