selection: track selection type; normal or block selection

This commit is contained in:
Daniel Eklöf 2020-01-03 23:29:45 +01:00
parent 1178a7763b
commit d706e68280
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 18 additions and 7 deletions

View file

@ -138,7 +138,7 @@ search_update_selection(struct terminal *term,
assert(selection_row >= 0 &&
selection_row < term->grid->num_rows);
selection_start(term, start_col, selection_row);
selection_start(term, start_col, selection_row, SELECTION_NORMAL);
}
/* Update selection endpoint */