mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 18:38:48 +00:00
Fix selection present check, reported by M Kelly.
This commit is contained in:
parent
89c1c43ef9
commit
6207a45139
@ -805,7 +805,7 @@ window_copy_formats(struct window_mode_entry *wme, struct format_tree *ft)
|
||||
format_add(ft, "selection_active", "1");
|
||||
else
|
||||
format_add(ft, "selection_active", "0");
|
||||
if (data->endselx != data->selx && data->endsely != data->sely)
|
||||
if (data->endselx != data->selx || data->endsely != data->sely)
|
||||
format_add(ft, "selection_present", "1");
|
||||
else
|
||||
format_add(ft, "selection_present", "0");
|
||||
|
Loading…
Reference in New Issue
Block a user