Skip to content

Commit

Permalink
Adding back lines that were removed by mistake, fixes mouse double cl…
Browse files Browse the repository at this point in the history
…ick to select
  • Loading branch information
bakkeby committed Mar 11, 2024
1 parent 7976e61 commit a28f3e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions st.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,10 @@ selstart(int col, int row, int snap)
sel.oe.x = sel.ob.x = col;
sel.oe.y = sel.ob.y = row;
selnormalize();

if (sel.snap != 0)
sel.mode = SEL_READY;
tsetdirt(sel.nb.y, sel.ne.y);
}

void
Expand Down

0 comments on commit a28f3e0

Please sign in to comment.