Only reset urf8 state when transitioning into normal
This commit is contained in:
parent
ccf124218b
commit
8360a4ec53
1 changed files with 1 additions and 1 deletions
|
|
@ -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': \
|
||||
|
|
|
|||
Loading…
Reference in a new issue