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

Fix behavior of \b after line wrap. #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

szym
Copy link

@szym szym commented Oct 30, 2014

This fixes issue #49.

@takluyver
Copy link

I think this does the wrong thing after an explicit newline, e.g. abc\r\n\bdef. At least in my regular terminal emulator, \b can go backwards if it has wrapped onto a new line, but not after an explicit newline.

I think fixing this would require term.js to keep track of whether a line has wrapped or been explicitly ended. That would also be beneficial for copying and pasting out of a terminal.

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.

None yet

2 participants