mirror of
https://github.com/alacritty/alacritty.git
synced 2025-11-06 22:44:18 -05:00
Preserve linewrap flag across alt screen switches
While neither VTE, URxvt nor Kitty handle this, preserving the linewrap flag across alternate screen switches seems like the correct thing to do. XTerm also does handle this correctly, which indicates that it is a bug and not a feature.
This commit is contained in:
parent
92ea355eee
commit
72c916ff43
8 changed files with 30 additions and 19 deletions
|
|
@ -63,6 +63,7 @@ ref_tests! {
|
|||
scroll_up_reset
|
||||
clear_underline
|
||||
region_scroll_down
|
||||
wrapline_alt_toggle
|
||||
}
|
||||
|
||||
fn read_u8<P>(path: P) -> Vec<u8>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
[1m[7m%[27m[1m[0m
[0m[27m[24m[J[38;5;0;48;5;9m UL [0m[38;5;7;48;5;8m /…/tests/ref/wrapline_alt_t… [0m[38;5;0;48;5;9m fix_newline_flag [0m [K
[0m[27m[24m[J[38;5;0;48;5;9m UL [0m[38;5;7;48;5;8m /…/tests/ref/wrapline_alt_t… [0m[38;5;0;48;5;9m fix_newline_flag [0m [K[?2004hf[37mor i in {1..$(tput cols)}; do echo -ne "a"; done && echo -ne "\e[?1049h" && echo -ne [37m"[37mx" && echo -ne "\e[?1049l" && echo -ne "a"[39m[K[A[11Cf[39mo[39mr[39m [39mi[39m [39mi[39mn[39m [39m{[39m1[39m.[39m.[39m$[39m([39mt[39mp[39mu[39mt[39m [39mc[39mo[39ml[39ms[39m)[39m}[39m;[39m [39md[39mo[39m [39me[39mc[39mh[39mo[39m [39m-[39mn[39me[39m [39m"[39ma[39m"[39m;[39m [39md[39mo[39mn[39me[39m [39m&[39m&[39m [39me[39mc[39mh[39mo[39m [39m-[39mn[39me[39m [39m"[39m\[39me[39m[[39m?[39m1[39m0[39m4[39m9[39mh[39m"[39m [39m&[39m&[39m [39me[39mc[39mh[39mo[39m [39m-[39mn[39me[39m "[39mx[39m"[39m [39m&[39m&[39m [39me[39mc[39mh[39mo[39m [39m-[39mn[39me[39m [39m"[39m\[39me[39m[[39m?[39m1[39m0[39m4[39m9[39ml[39m"[39m [39m&[39m&[39m [39me[39mc[39mh[39mo[39m [39m-[39mn[39me[39m [39m"[39ma[39m"[?2004l
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[?1049hx[?1049la[1m[7m%[27m[1m[0m
[0m[27m[24m[J[38;5;0;48;5;9m UL [0m[38;5;7;48;5;8m /…/tests/ref/wrapline_alt_t… [0m[38;5;0;48;5;9m fix_newline_flag [0m [K
[0m[27m[24m[J[38;5;0;48;5;9m UL [0m[38;5;7;48;5;8m /…/tests/ref/wrapline_alt_t… [0m[38;5;0;48;5;9m fix_newline_flag [0m [K[?2004he[37mxit[39me[39mx[39mi[39mt[?2004l
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"history_size":0}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
{"width":1259.0,"height":683.0,"cell_width":9.0,"cell_height":19.0,"padding_x":4.0,"padding_y":9.0,"dpr":1.1666666666666667}
|
||||
Loading…
Add table
Add a link
Reference in a new issue