mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Merge copy mode and output mode, dropping the latter. Idea and code from
Micah Cowan.
This commit is contained in:
parent
f81190a793
commit
ac9daf92d7
12 changed files with 222 additions and 401 deletions
3
screen.c
3
screen.c
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue