From 0dd37f0a364fc36284dad17e8fb1345714261a4a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 28 Nov 2019 19:35:47 +0100 Subject: terminal: use the 'text' xcursor pointer whenever selection is possible --- csi.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'csi.c') diff --git a/csi.c b/csi.c index fbfac35d..a07267b1 100644 --- a/csi.c +++ b/csi.c @@ -875,14 +875,17 @@ csi_dispatch(struct terminal *term, uint8_t final) case 1000: term->mouse_tracking = MOUSE_CLICK; + term_xcursor_update(term); break; case 1002: term->mouse_tracking = MOUSE_DRAG; + term_xcursor_update(term); break; case 1003: term->mouse_tracking = MOUSE_MOTION; + term_xcursor_update(term); break; case 1004: @@ -1000,6 +1003,7 @@ csi_dispatch(struct terminal *term, uint8_t final) case 1002: /* MOUSE_BUTTON_EVENT */ case 1003: /* MOUSE_ANY_EVENT */ term->mouse_tracking = MOUSE_NONE; + term_xcursor_update(term); break; case 1005: /* MOUSE_UTF8 */ -- cgit v1.3