mirror of
https://github.com/tmux/tmux.git
synced 2024-11-19 02:48:50 +00:00
Preserve CRLF flag when respawning.
This commit is contained in:
parent
fc6580574e
commit
1e9c3b3c63
2
screen.c
2
screen.c
@ -103,7 +103,7 @@ screen_reinit(struct screen *s)
|
|||||||
s->rupper = 0;
|
s->rupper = 0;
|
||||||
s->rlower = screen_size_y(s) - 1;
|
s->rlower = screen_size_y(s) - 1;
|
||||||
|
|
||||||
s->mode = MODE_CURSOR|MODE_WRAP;
|
s->mode = MODE_CURSOR|MODE_WRAP|(s->mode & MODE_CRLF);
|
||||||
if (options_get_number(global_options, "extended-keys") == 2)
|
if (options_get_number(global_options, "extended-keys") == 2)
|
||||||
s->mode |= MODE_KEXTENDED;
|
s->mode |= MODE_KEXTENDED;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user