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 /session.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 'session.c')
-rw-r--r-- | session.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -105,8 +105,6 @@ session_create(const char *name, const char *cmd, const char *cwd, TAILQ_INIT(&s->lastw); RB_INIT(&s->windows); - paste_init_stack(&s->buffers); - options_init(&s->options, &global_s_options); environ_init(&s->environ); if (env != NULL) @@ -155,7 +153,6 @@ session_destroy(struct session *s) session_group_remove(s); environ_free(&s->environ); options_free(&s->options); - paste_free_stack(&s->buffers); while (!TAILQ_EMPTY(&s->lastw)) winlink_stack_remove(&s->lastw, TAILQ_FIRST(&s->lastw)); |