mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-17 22:05:22 -05:00
selection: update: don't assert on 'start' being set
This commit is contained in:
parent
e4a2d41f51
commit
e3992b8379
1 changed files with 1 additions and 0 deletions
|
|
@ -389,6 +389,7 @@ selection_modify(struct terminal *term, struct coord start, struct coord end)
|
|||
void
|
||||
selection_update(struct terminal *term, int col, int row)
|
||||
{
|
||||
if (term->selection.start.row == -1)
|
||||
return;
|
||||
|
||||
LOG_DBG("selection updated: start = %d,%d, end = %d,%d -> %d, %d",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue