mirror of
https://github.com/tmux/tmux.git
synced 2026-07-02 07:46:43 +00:00
c643ac48278b793d17d0e8edd140af6d9d68128a
UTF-8 combined character fixes. Thai can have treble combinations (1 x width=1 then 2 x width=0) so bump the UTF-8 cell data size to 9 and alter the code to allow this. Also break off the combining code into a separate function, handle any further combining beyond the buffer size by replacing the character with _s, and when redrawing the UTF-8 character don't assume the first part has just been printed, redraw the entire line.
Description
tmux source code
Languages
C
83.1%
Shell
7.7%
Roff
6.8%
Yacc
1.1%
M4
0.7%
Other
0.5%