]> git.ipfire.org Git - thirdparty/plymouth.git/commit
ply-terminal-emulator: Handle incomplete UTF-8 characters better resilientunicode
authornerdopolis <bluescreen_avenger@verizon.net>
Sat, 9 Dec 2023 02:48:47 +0000 (21:48 -0500)
committerRay Strode <rstrode@redhat.com>
Sun, 10 Dec 2023 18:13:35 +0000 (13:13 -0500)
commit6da1b27c46da3e4f2e7287be6415fccc9c3b2a35
tree5c45e1d1b71a426d8b032fd222e151709ba5769b
parent7a7c43612cac5d60a9a2fe04ec64601eb153ce65
ply-terminal-emulator: Handle incomplete UTF-8 characters better

This commit introduces a state machine to better handle when part
of a UTF-8 character comes in immediately, and the rest of it
comes in later.

It also tries to better handle cases where control characters
are interleaved in the middle of UTF-8 characters.
src/libply-splash-core/ply-terminal-emulator.c