Skip to content

Confirmation prompt terminal width#323

Open
omertuc wants to merge 1 commit intoconsole-rs:mainfrom
omertuc:width
Open

Confirmation prompt terminal width#323
omertuc wants to merge 1 commit intoconsole-rs:mainfrom
omertuc:width

Conversation

@omertuc
Copy link

@omertuc omertuc commented Feb 22, 2025

The confirmation prompt should take into account the terminal's width in relation to the prompt width when clearing the last line(s).

See recording showing before and after:

asciicast

The confirmation prompt should take into account the terminal's width
in relation to the prompt width when clearing the last line(s).

See recording showing before and after: https://asciinema.org/a/wW9IyNYeOT22m9iIH5OPmTki9
@omertuc
Copy link
Author

omertuc commented Feb 22, 2025

Just noticed #175

Copy link

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know much about this codebase, but this change looks superficially plausible to me at least!

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