diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-11-04 15:00:36 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-11-04 15:00:36 -0700 |
commit | 65e84b15a944c83862da736a427636f3e64d3fc2 (patch) | |
tree | 57cf3fa0d883ae45f322231cf16235cfb954cde0 /sys/cmd/term/term.c | |
parent | 1455834a50b8b6a15567e971db664fe7a6cdfaf6 (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/term.c')
-rw-r--r-- | sys/cmd/term/term.c | 2 |
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) |