unicode: introduce kmscon_utf8_mach_reset()
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 29 May 2012 09:13:49 +0000 (11:13 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 29 May 2012 09:13:49 +0000 (11:13 +0200)
commit277edee2dc118a74daf53b877c6596a930d65d7b
tree3c66952307d39a19b34c0e25d21238400da3b8d8
parentf6a39baf398131f882f052cd47f45c220ec6edd8
unicode: introduce kmscon_utf8_mach_reset()

Sometimes we need to reset the UTF8 state-machine, for instance when
resetting the VTE. This function simply resets the internal state to
KMSCON_UTF8_START so we start all over on the next input character.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/unicode.c
src/unicode.h