aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/term
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-11-04 15:00:36 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-11-04 15:00:36 -0700
commit65e84b15a944c83862da736a427636f3e64d3fc2 (patch)
tree57cf3fa0d883ae45f322231cf16235cfb954cde0 /sys/cmd/term
parent1455834a50b8b6a15567e971db664fe7a6cdfaf6 (diff)
Feat: input readline now unicode aware
Updated our assumptions of readline to handle valid unicode input. This required integrating with an explicit library to handle unicode knowledge.
Diffstat (limited to 'sys/cmd/term')
-rw-r--r--sys/cmd/term/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cmd/term/term.c b/sys/cmd/term/term.c
index f92db28..8805b0b 100644
--- a/sys/cmd/term/term.c
+++ b/sys/cmd/term/term.c
@@ -2096,7 +2096,7 @@ tputc(rune u)
}
/* combining characters */
- if(!width) {
+ if(!width){
if(term.c.x > 0)
gp = &term.line[term.c.y][term.c.x-1];
else if(term.c.y > 0)