mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-02 12:44:01 +02:00
Only reset urf8 state when transitioning into normal
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
// Macros {{{
|
||||
|
||||
#define SET_STATE(x) \
|
||||
self->vte_state = VTE_##x; zero_at_ptr(&self->utf8);
|
||||
self->vte_state = VTE_##x; if (VTE_##x == VTE_NORMAL) { zero_at_ptr(&self->utf8); }
|
||||
|
||||
#define DIGIT \
|
||||
'0': \
|
||||
|
||||
Reference in New Issue
Block a user