term: Ensure that double escape character raw prints escape
diff --git a/stage23/lib/term.s2.c b/stage23/lib/term.s2.c
index 64311f2b..619e5868 100644
--- a/stage23/lib/term.s2.c
+++ b/stage23/lib/term.s2.c
@@ -236,6 +236,10 @@ static void escape_parse(uint8_t c) {
}
switch (c) {
+ case '\e':
+ escape = false;
+ raw_putchar(c);
+ break;
case '[':
for (int i = 0; i < MAX_ESC_VALUES; i++)
esc_values[i] = 0;
