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
csi.c
View file

@ -969,7 +969,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
case '!': {
switch (final) {
case 'p':
LOG_WARN("unimplemented: soft reset");
term_reset(term, false);
break;
default: