From 3bdfd30e0f937e60a40cf7d58ecf5c2ae9f67480 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 10 Jul 2012 19:10:28 -0400 Subject: [PATCH] cursor has to be redrawn when exiting visual mode --- termite.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/termite.c b/termite.c index 1c10961..67bbcd4 100644 --- a/termite.c +++ b/termite.c @@ -131,15 +131,14 @@ static void end_selection(VteTerminal *vte, select_info *select) { static void toggle_visual(VteTerminal *vte, select_info *select, select_mode mode) { if (select->mode == mode) { select->mode = SELECT_ON; - vte_terminal_select_none(vte); } else { if (select->mode == SELECT_ON) { select->begin_col = select->cursor_col; select->begin_row = select->cursor_row; } select->mode = mode; - update_selection(vte, select); } + update_selection(vte, select); } static long first_row(VteTerminal *vte) {