lineedit: improve Unicode handling (still buggy though)
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 19 Aug 2013 14:44:05 +0000 (16:44 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 19 Aug 2013 14:44:05 +0000 (16:44 +0200)
commit7a18043a968ec6d4b8c4c8cac059ad977d14e47c
tree3f2926bc556542b689d284338a7137ede9544d56
parent8395bd3f52f8ed46fa3ffc316b2d113afa748bae
lineedit: improve Unicode handling (still buggy though)

function                                             old     new   delta
unicode_strlen                                         -      31     +31
read_line_input                                     3876    3879      +3
lineedit_read_key                                    255     246      -9
parse_and_put_prompt                                 785     755     -30
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/2 up/down: 34/-39)             Total: -5 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/lineedit.c
libbb/unicode.c