diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-08-09 19:26:34 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-08-09 19:26:34 +0000 |
| commit | 70b6d9d7d2969ea704780cad5017a43a66e9670a (patch) | |
| tree | c15aab233f465a933c9a9947129e61430746aa60 /selection.c | |
| parent | README: remove empty lines in between list items (diff) | |
input: don't paste from primary if client is mouse tracking
Diffstat (limited to 'selection.c')
| -rw-r--r-- | selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selection.c b/selection.c index 586b1c3d..8dd00da0 100644 --- a/selection.c +++ b/selection.c @@ -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; |
