vt/csi: recognize the reset sequence sent by 'reset'

However, we don't (yet) actually reset the terminal
This commit is contained in:
Daniel Eklöf 2019-07-17 10:39:38 +02:00
parent e944eb85ac
commit 28eef93742
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 28 additions and 0 deletions

4
vt.c
View file

@ -598,6 +598,10 @@ esc_dispatch(struct terminal *term, uint8_t final)
term->vt.attrs = term->vt.saved_attrs;
break;
case 'c':
LOG_WARN("unimplemented: reset to initial state");
break;
case 'B': {
/* Configure G0-G3 to use ASCII */
char param = term->vt.private != 0 ? term->vt.private : '(';