mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Move struct screen_sel into screen.c and tidy up members that are only
used by copy mode.
This commit is contained in:
@ -1343,7 +1343,7 @@ screen_write_collect_add(struct screen_write_ctx *ctx,
|
||||
collect = 0;
|
||||
else if (s->mode & MODE_INSERT)
|
||||
collect = 0;
|
||||
else if (s->sel.flag)
|
||||
else if (s->sel != NULL)
|
||||
collect = 0;
|
||||
if (!collect) {
|
||||
screen_write_collect_end(ctx);
|
||||
|
Reference in New Issue
Block a user