mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
dcs: we have no parent terminal to pass through to
This commit is contained in:
parent
2c1c49e499
commit
2096753b52
6 changed files with 1 additions and 59 deletions
14
vt.c
14
vt.c
|
|
@ -9,7 +9,6 @@
|
|||
#define LOG_ENABLE_DBG 0
|
||||
#include "log.h"
|
||||
#include "csi.h"
|
||||
#include "dcs.h"
|
||||
#include "grid.h"
|
||||
#include "osc.h"
|
||||
|
||||
|
|
@ -931,20 +930,9 @@ action(struct terminal *term, enum action _action, uint8_t c)
|
|||
break;
|
||||
|
||||
case ACTION_HOOK:
|
||||
term->vt.dcs.idx = 0;
|
||||
break;
|
||||
|
||||
case ACTION_PUT:
|
||||
if (!dcs_ensure_size(term, term->vt.dcs.idx + 1))
|
||||
break;
|
||||
term->vt.dcs.data[term->vt.dcs.idx++] = c;
|
||||
break;
|
||||
|
||||
case ACTION_UNHOOK:
|
||||
if (!dcs_ensure_size(term, term->vt.dcs.idx + 1))
|
||||
break;
|
||||
term->vt.dcs.data[term->vt.dcs.idx] = '\0';
|
||||
dcs_passthrough(term);
|
||||
/* We have no parent terminal to pass through to */
|
||||
break;
|
||||
|
||||
case ACTION_UTF8_2_ENTRY:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue