diff options
author | 2016-10-18 07:38:16 +0000 | |
---|---|---|
committer | 2016-10-18 07:38:16 +0000 | |
commit | 31877bc45e97cd6e53565d80058952ee24a2a342 (patch) | |
tree | 82db4294d85efd10ef94fc6c2923eb440565b048 | |
parent | typo fix and zap some trailing eol whitespace; (diff) | |
download | wireguard-openbsd-31877bc45e97cd6e53565d80058952ee24a2a342.tar.xz wireguard-openbsd-31877bc45e97cd6e53565d80058952ee24a2a342.zip |
Store the right size in the pipe offset for pipe-pane.
-rw-r--r-- | usr.bin/tmux/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index e8dd853000b..ac2df208f72 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.172 2016/10/16 22:06:40 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.173 2016/10/18 07:38:16 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -970,7 +970,7 @@ window_pane_read_callback(__unused struct bufferevent *bufev, void *data) input_parse(wp); - wp->pipe_off = size; + wp->pipe_off = EVBUFFER_LENGTH(evb); } static void |