mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-08 05:34:00 -04:00
vt: implement DECCKM (cursor key sends either SS3 or CSI escapes)
This commit is contained in:
parent
9e47c89880
commit
35e5fa1f76
4 changed files with 44 additions and 34 deletions
4
csi.c
4
csi.c
|
|
@ -319,7 +319,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
for (size_t i = 0; i < term->vt.params.idx; i++) {
|
||||
switch (term->vt.params.v[i].value) {
|
||||
case 1:
|
||||
LOG_WARN("unimplemented: smkx");
|
||||
term->decckm = DECCKM_SS3;
|
||||
break;
|
||||
|
||||
case 1049:
|
||||
|
|
@ -344,7 +344,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
for (size_t i = 0; i < term->vt.params.idx; i++) {
|
||||
switch (term->vt.params.v[i].value) {
|
||||
case 1:
|
||||
LOG_WARN("unimplemented: rmkx");
|
||||
term->decckm = DECCKM_CSI;
|
||||
break;
|
||||
|
||||
case 1049:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue