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 --- terminal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index bc43edeb..8e1ae4b7 100644 --- a/terminal.h +++ b/terminal.h @@ -240,6 +240,7 @@ struct terminal { uint32_t text; uint32_t cursor; } cursor_color; + const char *xcursor; struct { struct coord start; @@ -365,6 +366,7 @@ void term_mouse_up(struct terminal *term, int button, int row, int col, bool shift, bool alt, bool ctrl); void term_mouse_motion(struct terminal *term, int button, int row, int col, bool shift, bool alt, bool ctrl); +void term_xcursor_update(struct terminal *term); void term_set_window_title(struct terminal *term, const char *title); void term_flash(struct terminal *term, unsigned duration_ms); -- cgit v1.3