mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-20 23:41:27 +02:00
51297: update expected test results to match more optimised escape sequences with recent changes
This commit is contained in:
parent
3a08f68288
commit
857bc4343b
2 changed files with 11 additions and 8 deletions
|
@ -1,5 +1,8 @@
|
|||
2023-01-11 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 51297: Test/X04zlehighlight.ztst: update expected test results
|
||||
to match more optimised escape sequences with recent changes
|
||||
|
||||
* Jörg Sommer: 51256: Completion/Unix/Command/_git:
|
||||
Add --refetch to completions of git-fetch
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
zpty_line 1 p # the line of interest, preserving escapes ("p")
|
||||
zpty_stop
|
||||
0:region highlight - standout overlapping on other region_highlight entry
|
||||
>0m27m24mtr7mu0me word2 word3
|
||||
>0mtr7mu0me word2 word3
|
||||
|
||||
zpty_start
|
||||
zpty_input 'rh_widget() { BUFFER="true"; region_highlight+=( "0 4 fg=green" ); }'
|
||||
|
@ -90,7 +90,7 @@
|
|||
zpty_line 1 p # the line of interest, preserving escapes ("p")
|
||||
zpty_stop
|
||||
0:basic region_highlight with 8 colors
|
||||
>0m27m24mCDE|32|true0m
|
||||
>0mCDE|32|true
|
||||
|
||||
zpty_start
|
||||
zpty_input 'rh_widget() { region_highlight+=( "0 4 fg=green memo=someplugin" ); typeset -p region_highlight }'
|
||||
|
@ -145,7 +145,7 @@
|
|||
zpty_line 1 p # the line of interest, preserving escapes ("p")
|
||||
zpty_stop
|
||||
0:basic region_highlight with true-color (hex-triplets)
|
||||
>0m27m24m38;2;4;8;16mtrue0m
|
||||
>0m38;2;4;8;16mtrue
|
||||
|
||||
zpty_start
|
||||
zpty_input 'zmodload zsh/nearcolor'
|
||||
|
@ -157,7 +157,7 @@
|
|||
zpty_line 1 p # the line of interest, preserving escapes ("p")
|
||||
zpty_stop
|
||||
0:basic region_highlight with near-color (hex-triplets at input)
|
||||
>0m27m24mCDE|3232|true0m
|
||||
>0mCDE|3232|true
|
||||
|
||||
zpty_start
|
||||
zpty_input 'rh_widget() { BUFFER="true"; region_highlight+=( "0 4 fg=green" ); rh2; }'
|
||||
|
@ -169,7 +169,7 @@
|
|||
zpty_line 1 p # the line of interest, preserving escapes ("p")
|
||||
zpty_stop
|
||||
0:overlapping region_highlight with 8 colors
|
||||
>0m27m24mCDE|32|tCDE|31|rCDE|32|ue0m
|
||||
>0mCDE|32|tCDE|31|rCDE|32|ue
|
||||
|
||||
zpty_start
|
||||
zpty_input 'rh_widget() { BUFFER="true"; region_highlight+=( "0 4 fg=#00cc00" ); rh2; }'
|
||||
|
@ -181,7 +181,7 @@
|
|||
zpty_line 1 p # the line of interest, preserving escapes ("p")
|
||||
zpty_stop
|
||||
0:overlapping region_highlight with true-color
|
||||
>0m27m24m38;2;0;204;0mt38;2;204;0;0mr38;2;0;204;0mue0m
|
||||
>0m38;2;0;204;0mt38;2;204;0;0mr38;2;0;204;0mue
|
||||
|
||||
zpty_start
|
||||
zpty_input 'zmodload zsh/nearcolor'
|
||||
|
@ -194,7 +194,7 @@
|
|||
zpty_line 1 p # the line of interest, preserving escapes ("p")
|
||||
zpty_stop
|
||||
0:overlapping region_highlight with near-color (hex-triplets at input)
|
||||
>0m27m24mCDE|340|tCDE|3160|rCDE|340|ue0m
|
||||
>0mCDE|340|tCDE|3160|rCDE|340|ue
|
||||
|
||||
zpty_start
|
||||
zpty_input 'f () { zle clear-screen; zle g -f nolast; BUFFER=": ${(q)LASTWIDGET}" }; zle -N f'
|
||||
|
@ -205,7 +205,7 @@
|
|||
zpty_line 1 p
|
||||
zpty_stop
|
||||
0:zle $widgetname -f nolast
|
||||
>0m27m24m0m27m24m: clear-screen
|
||||
>0m0m: clear-screen
|
||||
|
||||
%clean
|
||||
|
||||
|
|
Loading…
Reference in a new issue