summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-12-30 22:39:49 +0000
committerTiago Cunha <tcunha@gmx.com>2010-12-30 22:39:49 +0000
commit9ebee6aef8aab237314e167f0d0412ddc5ebf513 (patch)
tree61d060770b8af5e2a467badb74a3aab4d71a6372 /tmux.c
parent095e1b410a31166d1f37e8a6ff99e7bb666737ad (diff)
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index 3b77be8e..9a9d45e3 100644
--- a/tmux.c
+++ b/tmux.c
@@ -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());