Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit prompt line to screen width #704

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Draft

Conversation

vinc
Copy link
Owner

@vinc vinc commented Nov 27, 2024

There's currently no multiline support in the prompt library (see #343 for a WIP) and a lot of weird things happen when a line goes past the screen width so the simplest fix for now is to prevent that.

prompt

@vinc
Copy link
Owner Author

vinc commented Nov 27, 2024

The fix handles line editing:

prompt2

@vinc
Copy link
Owner Author

vinc commented Nov 27, 2024

But it breaks down using file completion at the end of a long line:

prompt3

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.

1 participant