-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Readline does not cope well with long prompt inputs #4
Comments
We can probably use control codes (VT100 anybody?) to get the current terminal size and limit our user input line to the maximum width available. This is non-trivial, but certainly doable. Any other thoughts? |
we can use intval(getenv('COLUMNS')), but i don't think that limiting user input length is the right answer. |
@koso00 Thanks for you input, I agree relying on Once we know the terminal size, we can limit and/or wrap the user input line. |
Actually i forked the project, you can see i added mouse events and i'm planning to add resize with the same "way". |
No description provided.
The text was updated successfully, but these errors were encountered: