begin is set when entering visual mode

This commit is contained in:
Daniel Micay 2012-07-05 03:15:13 -04:00
parent ca7cb0c3ed
commit e667bb9d9d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {