dcs: sort of implement DCS passthrough

We now store the passthrough characters in a buffer, and call
dcs_passthrough() on unhook.

However, dcs_passthrough() doesn't do anything.
This commit is contained in:
Daniel Eklöf 2019-07-19 09:55:07 +02:00
parent 153628a217
commit b953326768
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 62 additions and 4 deletions

1
main.c
View file

@ -819,6 +819,7 @@ out:
xkb_context_unref(term.kbd.xkb);
free(term.vt.osc.data);
free(term.vt.dcs.data);
for (int row = 0; row < term.normal.num_rows; row++)
grid_row_free(term.normal.rows[row]);
free(term.normal.rows);