mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: exit URLs mode on mouse button events
This makes URLs mode behave like scrollback search mode.
This commit is contained in:
parent
31a3b7dadf
commit
81b5d476a9
1 changed files with 1 additions and 0 deletions
1
input.c
1
input.c
|
|
@ -1693,6 +1693,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
|||
|
||||
case TERM_SURF_GRID: {
|
||||
search_cancel(term);
|
||||
urls_reset(term);
|
||||
|
||||
bool cursor_is_on_grid = seat->mouse.col >= 0 && seat->mouse.row >= 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue