aboutsummaryrefslogtreecommitdiff
path: root/sys/libunicode
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-10-29 08:44:47 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-10-29 08:44:47 -0700
commitb12609cd69ff39f8a221b12230becadfe3e1fc57 (patch)
treea6d4eeaf4cdeab53d2f924556bf24a8ce4ff8214 /sys/libunicode
parent079d5d6a214f169fa8b73f2d6f6f741810dbe9fe (diff)
Prototype of unicode readline support
The readline functionality operated on the assumption that 1 byte = 1 character. This is obviously wrong if you input a non-ascii character. This commit temporarily removes a lot of functionality but parses input bytes in a unicode-aware manner. The outstanding problem now is 1 unicode rune != 1 column. There are double wide characters, as well as zero width runes, that further break our assumption that 1 rune = 1 character = 1 column. This is the next iteration.
Diffstat (limited to 'sys/libunicode')
0 files changed, 0 insertions, 0 deletions