Wow! Thank you!
Lots of things for me to try. I should have mentioned that I'm working with Python 2, but I think I can parse my way through these examples. Best, On 11/7/18, Cameron Simpson <c...@cskk.id.au> wrote: > On 08Nov2018 10:00, Steven D'Aprano <st...@pearwood.info> wrote: >>> Note that I need this to be platform agnostic. >> >>That's hard, even on a single platform like Linux. > > Most, nearly all, terminal honour carriage return and backspace. That is > technically enough. Even terminals with a destructive backspace (rare - > it is normally just a cursor motion) can get by (backspace, overwrite > the new text). > >>Most xterminal windows use either the xterm or vt1000 set of commands, >>which are broadly similar, but that's not guaranteed. If somebody >>happens to be running a different terminal type, they'll see something >>weird. >> >>And I have no idea what happens on Windows. > > I'd sort of expect Windows terminals, even cmd.exe, to accept the ANSI > sequences, which is what vt100 and xterms use. But that is expectation, > not knowledge. > > Cheers, > Cameron Simpson <c...@cskk.id.au> > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor