From e667bb9d9d3479ee0b7733358db95d1798598537 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 5 Jul 2012 03:15:13 -0400 Subject: [PATCH] begin is set when entering visual mode --- termite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termite.c b/termite.c index f222b1d..ad7ef31 100644 --- a/termite.c +++ b/termite.c @@ -105,7 +105,7 @@ static void update_selection(VteTerminal *vte, select_info *select) { static void start_selection(select_info *select) { select->mode = SELECT_ON; - select->begin = select->end = atk_text_get_caret_offset(select->text); + select->end = atk_text_get_caret_offset(select->text); } static void toggle_visual(select_info *select) {