epitron

Results 44 comments of epitron

Wait.. OMG, this is so weird. Okay, so, it has nothing to do with the script being executed like a binary. When I first run readline, the encoding is UTF8....

Oh man, that's weird. Now I'm getting your behaviour. Everything stays UTF8, but I get new lines.

It only happens with double-wide characters, it seems. ノ is fine, ︵ prints a new line.

After poking around with ANSI cursor positioning and double-wide UTF8 characters, it appears that they actually take up 2 columns on the display. For example, if you print "ab︵c", then...