mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-16 22:05:21 -05: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.start = (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.ongoing = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue