]> err.no Git - util-linux/commit
more: fix underlining for multibyte chars
authorKarel Zak <kzak@redhat.com>
Tue, 14 Aug 2007 09:51:19 +0000 (11:51 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Aug 2007 09:51:19 +0000 (11:51 +0200)
commit99bd8154adb07352e5bdd9821f612c07d97b8522
tree661cec7cde87c22485ba7b6078bdd174da0bcb7c
parentcad18f6152d265636941ae582ee8144b1734b3d2
more: fix underlining for multibyte chars

Try:
$ printf "aaa _\bŽ_\bŽ_\bŽ bbb\n" | more
aaa ŽŽŽ bbb

(ŽŽŽ has to be three underlined chars on terminal).

Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/more.c