diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-12-30 22:39:49 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-12-30 22:39:49 +0000 |
commit | 9ebee6aef8aab237314e167f0d0412ddc5ebf513 (patch) | |
tree | 61d060770b8af5e2a467badb74a3aab4d71a6372 /tmux.c | |
parent | 095e1b410a31166d1f37e8a6ff99e7bb666737ad (diff) | |
download | rtmux-9ebee6aef8aab237314e167f0d0412ddc5ebf513.tar.gz rtmux-9ebee6aef8aab237314e167f0d0412ddc5ebf513.tar.bz2 rtmux-9ebee6aef8aab237314e167f0d0412ddc5ebf513.zip |
Global paste buffers instead of per-session which renders copy-buffer useless.
As a consequence buffer-limit is now a server option.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.229 2010-12-30 20:41:08 nicm Exp $ */ +/* $Id: tmux.c,v 1.230 2010-12-30 22:39:49 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -326,12 +326,12 @@ main(int argc, char **argv) options_set_number(oo, "quiet", quiet); options_set_number(oo, "escape-time", 500); options_set_number(oo, "exit-unattached", 0); + options_set_number(oo, "buffer-limit", 9); options_init(&global_s_options, NULL); so = &global_s_options; options_set_number(so, "base-index", 0); options_set_number(so, "bell-action", BELL_ANY); - options_set_number(so, "buffer-limit", 9); options_set_string(so, "default-command", "%s", ""); options_set_string(so, "default-path", "%s", ""); options_set_string(so, "default-shell", "%s", getshell()); |