mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-08 01:53:35 +02:00
Support S8C1T mode
That is, eight bit control codes. When in S8C1T mode, kitty will send only eight bit control codes to the client.
This commit is contained in:
@@ -276,6 +276,16 @@ handle_esc_mode_char(Screen *screen, uint32_t ch, PyObject DUMP_UNUSED *dump_cal
|
||||
REPORT_ERROR("Unknown charset: 0x%x", ch); break;
|
||||
}
|
||||
break;
|
||||
case ' ':
|
||||
switch(ch) {
|
||||
case 'F':
|
||||
case 'G':
|
||||
REPORT_COMMAND(screen_set_8bit_controls, ch == 'G');
|
||||
screen_set_8bit_controls(screen, ch == 'G');
|
||||
break;
|
||||
}
|
||||
REPORT_ERROR("Unhandled ESC SP escape code: 0x%x", ch); break;
|
||||
break;
|
||||
default:
|
||||
REPORT_ERROR("Unhandled charset related escape code: 0x%x 0x%x", screen->parser_buf[0], ch); break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user