clear selection when leaving selection mode

This commit is contained in:
Daniel Micay 2012-07-06 22:56:47 -04:00
parent 115e466615
commit 62c62ab254
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ static void start_selection(VteTerminal *vte, select_info *select) {
}
static void end_selection(VteTerminal *vte, select_info *select) {
vte_terminal_select_none(vte);
vte_terminal_feed(vte, CSI "u", strlen(CSI "u")); // restore cursor position
select->mode = SELECT_OFF;
}