mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
csi: add debug logs for the various mouse reporting modes
This commit is contained in:
parent
832cc8c269
commit
2d0c4928ee
1 changed files with 4 additions and 1 deletions
5
csi.c
5
csi.c
|
|
@ -855,11 +855,12 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
break;
|
||||
|
||||
case 1005:
|
||||
LOG_WARN("unimplemented: UTF-8 mouse");
|
||||
LOG_WARN("unimplemented: mouse reporting mode: UTF-8");
|
||||
/* term->mouse_reporting = MOUSE_UTF8; */
|
||||
break;
|
||||
|
||||
case 1006:
|
||||
LOG_DBG("mouse reporting mode: SGR");
|
||||
term->mouse_reporting = MOUSE_SGR;
|
||||
break;
|
||||
|
||||
|
|
@ -868,6 +869,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
break;
|
||||
|
||||
case 1015:
|
||||
LOG_DBG("mouse reporting mode: urxvt");
|
||||
term->mouse_reporting = MOUSE_URXVT;
|
||||
break;
|
||||
|
||||
|
|
@ -968,6 +970,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
case 1005: /* MOUSE_UTF8 */
|
||||
case 1006: /* MOUSE_SGR */
|
||||
case 1015: /* MOUSE_URXVT */
|
||||
LOG_DBG("mouse reporting mode: legacy");
|
||||
term->mouse_reporting = MOUSE_NORMAL;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue