diff options
author | 2010-12-30 23:16:18 +0000 | |
---|---|---|
committer | 2010-12-30 23:16:18 +0000 | |
commit | eca05f1fc0ec6fc9c207193ddcba9f00995f6fdc (patch) | |
tree | cdf0e9851374e23108b26ce7898d7395f78cbbb4 /usr.bin/tmux/status.c | |
parent | be more cynical about boot-time entropy, and fold time and entropy data in. (diff) | |
download | wireguard-openbsd-eca05f1fc0ec6fc9c207193ddcba9f00995f6fdc.tar.xz wireguard-openbsd-eca05f1fc0ec6fc9c207193ddcba9f00995f6fdc.zip |
Change from a per-session stack of buffers to one global stack which is
much more convenient and also simplifies lot of code. This renders
copy-buffer useless and makes buffer-limit now a server option.
By Tiago Cunha.
Diffstat (limited to 'usr.bin/tmux/status.c')
-rw-r--r-- | usr.bin/tmux/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c index 6c270a27417..6857456e9bb 100644 --- a/usr.bin/tmux/status.c +++ b/usr.bin/tmux/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.67 2010/12/30 21:35:17 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.68 2010/12/30 23:16:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -983,7 +983,7 @@ status_prompt_key(struct client *c, int key) c->flags |= CLIENT_STATUS; break; case MODEKEYEDIT_PASTE: - if ((pb = paste_get_top(&c->session->buffers)) == NULL) + if ((pb = paste_get_top(&global_buffers)) == NULL) break; for (n = 0; n < pb->size; n++) { ch = (u_char) pb->data[n]; |