mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -04:00
input: don't paste from primary if client is mouse tracking
This commit is contained in:
parent
356c5a28b5
commit
70b6d9d7d2
3 changed files with 3 additions and 2 deletions
|
|
@ -17,7 +17,7 @@
|
|||
#define min(x, y) ((x) < (y) ? (x) : (y))
|
||||
#define max(x, y) ((x) > (y) ? (x) : (y))
|
||||
|
||||
static bool
|
||||
bool
|
||||
selection_enabled(const struct terminal *term)
|
||||
{
|
||||
return term->mouse_tracking == MOUSE_NONE || term->kbd.shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue