-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
wrapped lines are shown incorrectly when moving cursor #409
Comments
I've seen this too - the colours get all out of whack. It only appears once you have, as you say, three lines - prompt and two lines of command. |
I am not able to reproduce this bug on Konsole (KDE). It could be a problem with other terminals. |
Right, forgot to test other terminal emulators. |
This is because of differences in how the cursor works when printing in the last column. Apple Terminal makes the cursor stick, while Ubuntu makes it "go off the end." Sometimes we handle this by outputting a CR, so at least we know where the cursor is. |
I believe this commit fixes it - please reopen if you still see it. |
Type a long line of tokens, so that it is wrapped into two lines (+prompt in a separate line), then move the cursor back. When cursor moves to the first line all further moving will break the text representation.
The text was updated successfully, but these errors were encountered: