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

wrapped lines are shown incorrectly when moving cursor #409

Closed
maxfl opened this issue Nov 27, 2012 · 5 comments
Closed

wrapped lines are shown incorrectly when moving cursor #409

maxfl opened this issue Nov 27, 2012 · 5 comments
Milestone

Comments

@maxfl
Copy link
Contributor

maxfl commented Nov 27, 2012

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.

@zanchey
Copy link
Member

zanchey commented Nov 27, 2012

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.

@siteshwar
Copy link
Contributor

I am not able to reproduce this bug on Konsole (KDE). It could be a problem with other terminals.

@maxfl
Copy link
Contributor Author

maxfl commented Nov 27, 2012

Right, forgot to test other terminal emulators.
OK: xterm, konsole
FAIL: urxvt, sakura, guake

@ridiculousfish
Copy link
Member

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.

@ridiculousfish
Copy link
Member

I believe this commit fixes it - please reopen if you still see it.
c8f7d33

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants