diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-12-30 23:16:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-12-30 23:16:18 +0000 |
commit | cc42614fa92a0fd93ae359af6562401a2d3d00d7 (patch) | |
tree | 48971a7a344f23f480e8d8aa32c928e1bb537a60 /tmux.c | |
parent | 2231e72968629d67575b18979fed13b4f5ad730b (diff) | |
download | rtmux-cc42614fa92a0fd93ae359af6562401a2d3d00d7.tar.gz rtmux-cc42614fa92a0fd93ae359af6562401a2d3d00d7.tar.bz2 rtmux-cc42614fa92a0fd93ae359af6562401a2d3d00d7.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 'tmux.c')
-rw-r--r-- | tmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -320,12 +320,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()); |