term: Do not parse escape-abort characters when not in runtime mode

This commit is contained in:
mintsuki 2021-09-13 09:49:43 +02:00
parent 05eb70e9f0
commit fa5fa057bd

View File

@ -823,7 +823,7 @@ static uint8_t dec_special_to_cp437(uint8_t c) {
}
void term_putchar(uint8_t c) {
if (discard_next || c == 0x18 || c == 0x1a) {
if (discard_next || (term_runtime == true && (c == 0x18 || c == 0x1a))) {
discard_next = false;
escape = false;
csi = false;