Backspace does not erase in stdout
Chris Angelico
rosuav at gmail.com
Mon Dec 5 17:00:47 EST 2011
On Tue, Dec 6, 2011 at 4:40 AM, Grant Edwards <invalid at invalid.invalid> wrote:
> After thinking a while, I do remember one program I ran across
> recently that when you hit backspace would erase the entire line, then
> rewrite the entire line stopping one character short of where it was
> before. Even at network speeds it was noticable when the link was
> encrypted.
I've seen a few programs that do that. Benefit is that it works even
when (a) you're doing more than just "backspace one letter" (eg
deleting an entire word), and (b) when your logical line wraps over
multiple physical lines. It gets ugly fast, though.
ChrisA
More information about the Python-list
mailing list