3 ms·
Terminals are full of hacks. For example, in my terminal project linked above the Readme says this: "Backspace is known to not work in some configurations. As
by akkartik 1y ago
Terminals are full of hacks. For example, in my terminal project linked above the Readme says this:
"Backspace is known to not work in some configurations. As a workaround, typing ctrl-h tends to work in those situations." (https://git.sr.ht/~akkartik/teliva#known-issues https://git.sr.ht/~akkartik/teliva#known-issues)
This is a problem with every TUI out there built using ncurses. "What escape code does your terminal emit for backspace?" is a completely artificial problem at this point.
There are good reasons to deal with the terminal: I need programs built for it, or I need to interface with programs built for it. Programs that deal with 1D streams of bytes for stdin and stdout are simpler in text mode. But for anything else, I try to avoid it.
- ayrtondesozzla 1y agoSorry for jumping off topic but I came across mu recently - looks very interesting! Hope to try it out properly when I get a moment
- akkartik 1y agoThank you! Hit me up any time.