diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-04-06 21:35:44 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-04-06 21:35:44 +0000 |
commit | ac9daf92d72210570dc9cb63fd0058e4ff50b7a5 (patch) | |
tree | 2700d98304c50772683402bc2a34b89afa6245f0 /screen.c | |
parent | f81190a793d1b62ba12de54433c6a115db9950ca (diff) | |
download | rtmux-ac9daf92d72210570dc9cb63fd0058e4ff50b7a5.tar.gz rtmux-ac9daf92d72210570dc9cb63fd0058e4ff50b7a5.tar.bz2 rtmux-ac9daf92d72210570dc9cb63fd0058e4ff50b7a5.zip |
Merge copy mode and output mode, dropping the latter. Idea and code from
Micah Cowan.
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -20,6 +20,7 @@ #include <stdlib.h> #include <string.h> +#include <unistd.h> #include <vis.h> #include "tmux.h" @@ -55,7 +56,7 @@ screen_reinit(struct screen *s) s->rupper = 0; s->rlower = screen_size_y(s) - 1; - s->mode = MODE_CURSOR; + s->mode = MODE_CURSOR | MODE_WRAP; screen_reset_tabs(s); |