mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-07 08:21:02 -04:00
selection: cancel: reset pivot coordinates
This commit is contained in:
parent
683f63c929
commit
8113d2205d
1 changed files with 2 additions and 0 deletions
|
|
@ -945,6 +945,8 @@ selection_cancel(struct terminal *term)
|
||||||
term->selection.kind = SELECTION_NONE;
|
term->selection.kind = SELECTION_NONE;
|
||||||
term->selection.start = (struct coord){-1, -1};
|
term->selection.start = (struct coord){-1, -1};
|
||||||
term->selection.end = (struct coord){-1, -1};
|
term->selection.end = (struct coord){-1, -1};
|
||||||
|
term->selection.pivot.start = (struct coord){-1, -1};
|
||||||
|
term->selection.pivot.end = (struct coord){-1, -1};
|
||||||
term->selection.direction = SELECTION_UNDIR;
|
term->selection.direction = SELECTION_UNDIR;
|
||||||
term->selection.ongoing = false;
|
term->selection.ongoing = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue