term.js icon indicating copy to clipboard operation
term.js copied to clipboard

Fix behavior of \b after line wrap.

Open szym opened this issue 10 years ago • 1 comments

This fixes issue #49.

szym avatar Oct 30 '14 12:10 szym

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.

takluyver avatar Apr 22 '15 21:04 takluyver