mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
Use an enum for UTF8 decoder state
This commit is contained in:
@@ -83,7 +83,8 @@ typedef struct {
|
||||
CellPixelSize cell_size;
|
||||
OverlayLine overlay_line;
|
||||
id_type window_id;
|
||||
uint32_t utf8_state, utf8_codepoint, *g0_charset, *g1_charset, *g_charset;
|
||||
uint32_t utf8_codepoint, *g0_charset, *g1_charset, *g_charset;
|
||||
UTF8State utf8_state;
|
||||
unsigned int current_charset;
|
||||
Selections selections, url_ranges;
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user