term: implement reset

This commit is contained in:
Daniel Eklöf 2019-08-01 20:51:11 +02:00
parent 57564c2b59
commit ab92abbd21
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 86 additions and 2 deletions

2
vt.c
View file

@ -601,7 +601,7 @@ esc_dispatch(struct terminal *term, uint8_t final)
break;
case 'c':
LOG_WARN("unimplemented: reset to initial state");
term_reset(term, true);
break;
case 'B': {