mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-13 18:30:39 +01:00
Add \E( as a possible start of an escape sequence
This commit is contained in:
parent
352a7b6d5d
commit
b0d2dd835d
@ -135,7 +135,7 @@ uint32_t *advance_next32(const uint32_t *s, size_t *invis)
|
||||
/* Found an ESC char, count it as invisible and move 1 forward in the detection of CSI sequences */
|
||||
(*invis)++;
|
||||
ansipos++;
|
||||
} else if (ansipos == 1 && c == '[') {
|
||||
} else if (ansipos == 1 && (c == '[' || c == '(')) {
|
||||
/* Found '[' char after ESC. A CSI sequence has started. */
|
||||
(*invis)++;
|
||||
ansipos++;
|
||||
|
Loading…
Reference in New Issue
Block a user