Skip to main content

Working on my #ANSI terminal emulator. Whenever I don't know how it should behave, I just test it out with an existing one. Consequently, I've been doing terrible things to my terminal. Did you know that when you send a character that takes more than one space (such as an emoji) and then command the cursor to move back by one space, they really don't like it?
#programming #TerminalAbuse
in reply to Jonathan Lamothe

The trouble is that I'm never sure when I'm getting myself into the dreaded "undefined behavior" territory. To be fair, in the original ANSI standard, all characters were always the same width.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.