Follow

eshell/comint tip: when a poorly written program stops in the middle of output and messes up your screen state (colors, etc), run `tput -Txterm reset`. Eshell and comint both understand a variety of ANSI terminal escape sequences, even though they advertise themselves as dumb terminals by default. General tip: don't hard-code ANSI escape codes into your programs' output - that breaks all kinds of scripting and interactive use cases. Use termcap/ncurses.

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko