aboutsummaryrefslogtreecommitdiff
path: root/ui-curses.c
diff options
context:
space:
mode:
authorDavid B. Lamkins <david@lamkins.net>2015-07-03 09:03:42 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-03 10:00:46 +0200
commita9263c79fa0afaebccb3b34a65d623e3028dee2c (patch)
tree9acab38c628af1a910ec10e9ba565d9368ee7744 /ui-curses.c
parent87c7258ccc683965d2b6a5190f1e98d74c8d25d3 (diff)
downloadvis-a9263c79fa0afaebccb3b34a65d623e3028dee2c.tar.gz
vis-a9263c79fa0afaebccb3b34a65d623e3028dee2c.tar.xz
Fix handling of multibyte characters (at start of display area)
Previously a sequence of Unicode REPLACEMENT CHARACTER was displayed. Use an explicitly initialized mbstate_t object in the call to mbrtowc(). While this should not strictly be necessary, it works around a bug in certain implementations. Closes #56.
Diffstat (limited to 'ui-curses.c')
0 files changed, 0 insertions, 0 deletions