mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-28 01:40:17 -05:00
selection: don’t finalize selection when starting a word/row-based selection
This commit is contained in:
parent
bef69cb961
commit
3dd6b7e4ef
1 changed files with 0 additions and 2 deletions
|
|
@ -850,7 +850,6 @@ selection_mark_word(struct seat *seat, struct terminal *term, int col, int row,
|
||||||
term->selection.spaces_only = spaces_only;
|
term->selection.spaces_only = spaces_only;
|
||||||
|
|
||||||
selection_update(term, end.col, end.row);
|
selection_update(term, end.col, end.row);
|
||||||
selection_finalize(seat, term, serial);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -859,7 +858,6 @@ selection_mark_row(
|
||||||
{
|
{
|
||||||
selection_start(term, 0, row, SELECTION_NORMAL, SELECTION_SEMANTIC_ROW);
|
selection_start(term, 0, row, SELECTION_NORMAL, SELECTION_SEMANTIC_ROW);
|
||||||
selection_update(term, term->cols - 1, row);
|
selection_update(term, term->cols - 1, row);
|
||||||
selection_finalize(seat, term, serial);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue