From dccbdb97cd97384f5959c8ba986bb0f87428aef1 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 27 Aug 2025 11:29:31 +0200 Subject: multi-cursor: wip: start tracking which cells has secondary cursors --- terminal.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 2e23f749..62bcd7d9 100644 --- a/terminal.c +++ b/terminal.c @@ -1424,6 +1424,8 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper, term->notification_icons[i].tmp_file_fd = -1; } + pixman_region32_init(&term->multi_cursor.active); + add_utmp_record(conf, reaper, ptmx); if (!pty_path) { @@ -1943,6 +1945,8 @@ term_destroy(struct terminal *term) free(term->mouse_user_cursor); free(term->color_stack.stack); + pixman_region32_fini(&term->multi_cursor.active); + int ret = EXIT_SUCCESS; if (term->slave > 0) { -- cgit v1.3