diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-10-29 08:44:47 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-10-29 08:44:47 -0700 |
commit | b12609cd69ff39f8a221b12230becadfe3e1fc57 (patch) | |
tree | a6d4eeaf4cdeab53d2f924556bf24a8ce4ff8214 /sys/cmd/rc/rules.mk | |
parent | 079d5d6a214f169fa8b73f2d6f6f741810dbe9fe (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/cmd/rc/rules.mk')
-rw-r--r-- | sys/cmd/rc/rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cmd/rc/rules.mk b/sys/cmd/rc/rules.mk index 991fb2e..ceec50b 100644 --- a/sys/cmd/rc/rules.mk +++ b/sys/cmd/rc/rules.mk @@ -25,7 +25,7 @@ $(d)/parse.h $(d)/parse.c: $(d)/syntax.y yacc --header=$(<D)/parse.h --output=$(<D)/parse.c $(<) # Local rules -$(BINS_$(d)): $(OBJS_$(d)) $(OBJ_DIR)/sys/base/base.a $(d)/parse.h +$(BINS_$(d)): $(OBJS_$(d)) $(OBJ_DIR)/sys/libunicode/libunicode.a $(OBJ_DIR)/sys/base/base.a $(d)/parse.h $(COMPLINK) include share/pop.mk |