-
Notifications
You must be signed in to change notification settings - Fork 149
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
When prompt starting row is 0, new prompt is rendered on each key type #756
Comments
My guess is that this was related to redrawing the prompt with every keystroke, which reedline also probably shouldn't be doing. On Wezterm on Windows I don't think it matters, it always repeats the prompt with every keystroke. |
This appears to be a separate pathology. Yes we blindly redraw but @kit494way diagnosed that with everything on line 0 instead of overdrawing the previous content it moves the "paper" ahead. This would likely be something in the logic that initializes the prompt position. |
This problem appears to arise with specific terminal applications. |
That's why I think this is similar to WezTerm on Windows. It's something to do with the pty iirc but I think the main culprit is nushell drawing the prompt on ever character. There may be more information on issues here with WezTerm in the body. I can't even get wsltty to work right now. |
Platform Windows 11 WSL2 Ubuntu 20.04,
Terminal software wsltty 3.5.1
Describe the problem you are observing.
Steps to reproduce
clear
to make prompt starting row 0.Screenshots/Screencaptures
The text was updated successfully, but these errors were encountered: