aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/klogd.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-01-08 22:36:09 -0800
committerRob Landley <rob@landley.net>2020-01-09 17:04:24 -0600
commit3e334d6470c3e569637d45ba71fb68f9d6df872f (patch)
tree15fc0ee7c56cdbe448d5192382e8df63a4db3faa /toys/pending/klogd.c
parent3609b31e07dc677ed779e75ca901aa46a7ecc3a5 (diff)
downloadtoybox-3e334d6470c3e569637d45ba71fb68f9d6df872f.tar.gz
vi: fix warnings, improve status display.
mbtowc(0, 0, 4) is weird, and ignoring the result is weird. Avoid all this by just reusing the toybox lib utf8 functions. Also fix the row/column display on the status line to count from 1 and correctly distinguish bytes and characters in non-ASCII, and change the mode output to only explicitly say when we're in insert mode, in the same way that vim does. (Every time I saw the old blue-on-black text for COMMAND I thought toybox vi had crashed!)
Diffstat (limited to 'toys/pending/klogd.c')
0 files changed, 0 insertions, 0 deletions