set the begin point when entering visual mode

This commit is contained in:
Daniel Micay 2012-07-05 03:04:30 -04:00
parent 6e6a255c7e
commit ca7cb0c3ed
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ static void toggle_visual(select_info *select) {
remove_selection(select->text);
} else {
select->mode = SELECT_VISUAL;
select->begin = select->end;
}
}