diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-18 10:31:05 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-18 10:31:05 +0000 |
| commit | 2d0c4928eed28b04e45ca22e6ab0827161099cd5 (patch) | |
| tree | 448d7b2068b72a849ef62849d97011d8fc53940d | |
| parent | term: assert(false) on MOUSE_X10 (diff) | |
csi: add debug logs for the various mouse reporting modes
| -rw-r--r-- | csi.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |
