mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
csi: recognize CSI ? 1042/1043 h/l
1042: set 'urgency' window manager hint when receiving ctrl-g 1043: raise window when receiving ctrl-g
This commit is contained in:
parent
e46b963139
commit
42eef90268
1 changed files with 16 additions and 0 deletions
16
csi.c
16
csi.c
|
|
@ -775,6 +775,14 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
/* metaSendsEscape - we always send escape */
|
/* metaSendsEscape - we always send escape */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 1042:
|
||||||
|
LOG_WARN("unimplemented: 'urgency' window manager hint on ctrl-g");
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 1043:
|
||||||
|
LOG_WARN("unimplemented: raise window on ctrl-g");
|
||||||
|
break;
|
||||||
|
|
||||||
case 1049:
|
case 1049:
|
||||||
if (term->grid != &term->alt) {
|
if (term->grid != &term->alt) {
|
||||||
selection_cancel(term);
|
selection_cancel(term);
|
||||||
|
|
@ -865,6 +873,14 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
LOG_WARN("unimplemented: meta does *not* send escape");
|
LOG_WARN("unimplemented: meta does *not* send escape");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 1042:
|
||||||
|
/* 'urgency' window manager hint on ctrl-g */
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 1043:
|
||||||
|
/* raise window on ctrl-g */
|
||||||
|
break;
|
||||||
|
|
||||||
case 1049:
|
case 1049:
|
||||||
if (term->grid == &term->alt) {
|
if (term->grid == &term->alt) {
|
||||||
selection_cancel(term);
|
selection_cancel(term);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue