diff options
author | 2010-02-08 00:14:38 +0000 | |
---|---|---|
committer | 2010-02-08 00:14:38 +0000 | |
commit | e59ce48b8f83d13dcc33cd3af1e204f75d7c9eb5 (patch) | |
tree | 50e471eccabdaa42c737be7673cb5e5cefa5dc8f /usr.bin/tmux/tmux.c | |
parent | sync (diff) | |
download | wireguard-openbsd-e59ce48b8f83d13dcc33cd3af1e204f75d7c9eb5.tar.xz wireguard-openbsd-e59ce48b8f83d13dcc33cd3af1e204f75d7c9eb5.zip |
Add an option to disable the smcup/rmcup alternate screen behaviour inside
tmux. From clemens fischer.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index e79d2425e78..dd9549b121c 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.71 2010/02/06 18:47:41 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.72 2010/02/08 00:14:38 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -395,6 +395,7 @@ main(int argc, char **argv) options_init(&global_w_options, NULL); wo = &global_w_options; options_set_number(wo, "aggressive-resize", 0); + options_set_number(wo, "alternate-screen", 1); options_set_number(wo, "automatic-rename", 1); options_set_number(wo, "clock-mode-colour", 4); options_set_number(wo, "clock-mode-style", 1); |