diff options
author | 2018-07-31 11:49:26 +0000 | |
---|---|---|
committer | 2018-07-31 11:49:26 +0000 | |
commit | 3f2a54368aef1219b325970a556c3526045019af (patch) | |
tree | e29b3bfae1f413506983b660a34ee665875a74ce /usr.bin/tmux/screen-write.c | |
parent | Fix some debugging output now that ber type and encoding are unsigned int. (diff) | |
download | wireguard-openbsd-3f2a54368aef1219b325970a556c3526045019af.tar.xz wireguard-openbsd-3f2a54368aef1219b325970a556c3526045019af.zip |
Move struct screen_sel into screen.c and tidy up members that are only
used by copy mode.
Diffstat (limited to 'usr.bin/tmux/screen-write.c')
-rw-r--r-- | usr.bin/tmux/screen-write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c index c2c5a3cb64a..a33b17b4f98 100644 --- a/usr.bin/tmux/screen-write.c +++ b/usr.bin/tmux/screen-write.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen-write.c,v 1.137 2018/07/04 09:44:07 nicm Exp $ */ +/* $OpenBSD: screen-write.c,v 1.138 2018/07/31 11:49:26 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |