mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Only reset urf8 state when transitioning into normal
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
// Macros {{{
|
// Macros {{{
|
||||||
|
|
||||||
#define SET_STATE(x) \
|
#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 \
|
#define DIGIT \
|
||||||
'0': \
|
'0': \
|
||||||
|
|||||||
Reference in New Issue
Block a user