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:
Daniel Eklöf 2019-11-04 12:00:50 +01:00
parent e46b963139
commit 42eef90268
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

16
csi.c
View file

@ -775,6 +775,14 @@ csi_dispatch(struct terminal *term, uint8_t final)
/* metaSendsEscape - we always send escape */
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:
if (term->grid != &term->alt) {
selection_cancel(term);
@ -865,6 +873,14 @@ csi_dispatch(struct terminal *term, uint8_t final)
LOG_WARN("unimplemented: meta does *not* send escape");
break;
case 1042:
/* 'urgency' window manager hint on ctrl-g */
break;
case 1043:
/* raise window on ctrl-g */
break;
case 1049:
if (term->grid == &term->alt) {
selection_cancel(term);