mirror of
https://github.com/tmux/tmux.git
synced 2026-10-14 06:44:28 +00:00
Add menu tests.
This commit is contained in:
14
regress/screen-redraw-results/menu-basic.result
Normal file
14
regress/screen-redraw-results/menu-basic.result
Normal file
@@ -0,0 +1,14 @@
|
||||
MENU00 abcdefghij
|
||||
MENU01 abcdefghij
|
||||
MENU02[38;5;45m[48;5;235m┌─Menu───────────┐[39m[49m
|
||||
MENU03[38;5;45m[48;5;235m│[38;5;250m Alpha item (a) [38;5;45m│[39m[49m
|
||||
MENU04[38;5;45m[48;5;235m│[38;5;16m[48;5;220m Beta item (b) [38;5;45m[48;5;235m│[39m[49m
|
||||
MENU05[38;5;45m[48;5;235m├────────────────┤[39m[49m
|
||||
MENU06[38;5;45m[48;5;235m│[38;5;250m Gamma item (g) [38;5;45m│[39m[49m
|
||||
MENU07[38;5;45m[48;5;235m└────────────────┘[39m[49m
|
||||
MENU08 abcdefghij
|
||||
MENU09 abcdefghij
|
||||
MENU10 abcdefghij
|
||||
MENU11 abcdefghij
|
||||
MENU12 abcdefghij
|
||||
|
||||
6
regress/screen-redraw-results/menu-clipped.result
Normal file
6
regress/screen-redraw-results/menu-clipped.result
Normal file
@@ -0,0 +1,6 @@
|
||||
fghij
|
||||
[38;5;45m[48;5;235m┌─Menu─────┐
|
||||
│[38;5;16m[48;5;220m window> [38;5;45m[48;5;235m│
|
||||
│[38;5;250m oo wide> [38;5;45m│
|
||||
└──────────┘
|
||||
|
||||
14
regress/screen-redraw-results/menu-double.result
Normal file
14
regress/screen-redraw-results/menu-double.result
Normal file
@@ -0,0 +1,14 @@
|
||||
MENU00 abcdefghij
|
||||
MENU01 abcdefghij
|
||||
MENU02[38;5;45m[48;5;235m╔═Menu═══════════╗[39m[49m
|
||||
MENU03[38;5;45m[48;5;235m║[38;5;250m Alpha item (a) [38;5;45m║[39m[49m
|
||||
MENU04[38;5;45m[48;5;235m║[38;5;16m[48;5;220m Beta item (b) [38;5;45m[48;5;235m║[39m[49m
|
||||
MENU05[38;5;45m[48;5;235m╠════════════════╣[39m[49m
|
||||
MENU06[38;5;45m[48;5;235m║[38;5;250m Gamma item (g) [38;5;45m║[39m[49m
|
||||
MENU07[38;5;45m[48;5;235m╚════════════════╝[39m[49m
|
||||
MENU08 abcdefghij
|
||||
MENU09 abcdefghij
|
||||
MENU10 abcdefghij
|
||||
MENU11 abcdefghij
|
||||
MENU12 abcdefghij
|
||||
|
||||
14
regress/screen-redraw-results/menu-noborder.result
Normal file
14
regress/screen-redraw-results/menu-noborder.result
Normal file
@@ -0,0 +1,14 @@
|
||||
MENU00 abcdefghij
|
||||
MENU01 abcdefghij
|
||||
MENU02[38;5;45m[48;5;235m Menu [39m[49m
|
||||
MENU03[38;5;45m[48;5;235m [38;5;250m Alpha item (a) [38;5;45m [39m[49m
|
||||
MENU04[38;5;45m[48;5;235m [38;5;16m[48;5;220m Beta item (b) [38;5;45m[48;5;235m [39m[49m
|
||||
MENU05[38;5;45m[48;5;235m [39m[49m
|
||||
MENU06[38;5;45m[48;5;235m [38;5;250m Gamma item (g) [38;5;45m [39m[49m
|
||||
MENU07[38;5;45m[48;5;235m [39m[49m
|
||||
MENU08 abcdefghij
|
||||
MENU09 abcdefghij
|
||||
MENU10 abcdefghij
|
||||
MENU11 abcdefghij
|
||||
MENU12 abcdefghij
|
||||
|
||||
14
regress/screen-redraw-results/menu-over-split.result
Normal file
14
regress/screen-redraw-results/menu-over-split.result
Normal file
@@ -0,0 +1,14 @@
|
||||
MENU00 abcdefghij [38;2;179;179;179m│[39mMENU00 abcdefghij
|
||||
MENU01 abcdefghij [38;2;179;179;179m│[39mMENU01 abcdefghij
|
||||
MENU02 abcdefghij [38;2;179;179;179m│[39mMENU02 abcdefghij
|
||||
MENU03 a[38;5;45m[48;5;235m┌─Menu───────────┐[39m[49m3 abcdefghij
|
||||
MENU04 a[38;5;45m[48;5;235m│[38;5;250m Alpha item (a) [38;5;45m│[39m[49m4 abcdefghij
|
||||
MENU05 a[38;5;45m[48;5;235m│[38;5;16m[48;5;220m Beta item (b) [38;5;45m[48;5;235m│[39m[49m5 abcdefghij
|
||||
MENU06 a[38;5;45m[48;5;235m├────────────────┤[39m[49m6 abcdefghij
|
||||
MENU07 a[38;5;45m[48;5;235m│[38;5;250m Gamma item (g) [38;5;45m│[39m[49m7 abcdefghij
|
||||
MENU08 a[38;5;45m[48;5;235m└────────────────┘[39m[49m8 abcdefghij
|
||||
MENU09 abcdefghij [38;2;154;205;50m│[39mMENU09 abcdefghij
|
||||
MENU10 abcdefghij [38;2;154;205;50m│[39mMENU10 abcdefghij
|
||||
MENU11 abcdefghij [38;2;154;205;50m│[39mMENU11 abcdefghij
|
||||
MENU12 abcdefghij [38;2;154;205;50m│[39mMENU12 abcdefghij
|
||||
[38;2;154;205;50m│[39m
|
||||
14
regress/screen-redraw-results/menu-restyled.result
Normal file
14
regress/screen-redraw-results/menu-restyled.result
Normal file
@@ -0,0 +1,14 @@
|
||||
MENU00 abcdefghij
|
||||
MENU01 abcdefghij
|
||||
MENU02[38;5;51m[48;5;22m┌─Menu───────────┐[39m[49m
|
||||
MENU03[38;5;51m[48;5;22m│[38;5;196m Alpha item (a) [38;5;51m│[39m[49m
|
||||
MENU04[38;5;51m[48;5;22m│[38;5;231m[48;5;88m Beta item (b) [38;5;51m[48;5;22m│[39m[49m
|
||||
MENU05[38;5;51m[48;5;22m├────────────────┤[39m[49m
|
||||
MENU06[38;5;51m[48;5;22m│[38;5;196m Gamma item (g) [38;5;51m│[39m[49m
|
||||
MENU07[38;5;51m[48;5;22m└────────────────┘[39m[49m
|
||||
MENU08 abcdefghij
|
||||
MENU09 abcdefghij
|
||||
MENU10 abcdefghij
|
||||
MENU11 abcdefghij
|
||||
MENU12 abcdefghij
|
||||
|
||||
Reference in New Issue
Block a user