···2233exports[`note (isCI = false) > don't overflow 1`] = `
44[
55- "[90m│[39m
66-[32m◇[39m [0mtitle[0m [90m───────────────────────────────────────────────────────────────╮[39m
77-[90m│[39m [90m│[39m
88-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
99-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
1010-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
1111-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
1212-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
1313-[90m│[39m [2mstring test string test string test string test string [22m [90m│[39m
1414-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
1515-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
1616-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
1717-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
1818-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
1919-[90m│[39m [2mstring test string test string test string test string [22m [90m│[39m
2020-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
2121-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
2222-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
2323-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
2424-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
2525-[90m│[39m [2mstring test string test string test string test string [22m [90m│[39m
2626-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
2727-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
2828-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
2929-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
3030-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
3131-[90m│[39m [2mstring test string test string test string test string[22m [90m│[39m
3232-[90m│[39m [90m│[39m
3333-[90m├───────────────────────────────────────────────────────────────────────╯[39m
55+ "<dim>│</fg>
66+<green>◇</fg> </>title</> <dim>───────────────────────────────────────────────────────────────╮</fg>
77+<dim>│</fg> <dim>│</fg>
88+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
99+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
1010+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
1111+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
1212+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
1313+<dim>│</fg> <dim>string test string test string test string test string </bold> <dim>│</fg>
1414+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
1515+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
1616+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
1717+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
1818+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
1919+<dim>│</fg> <dim>string test string test string test string test string </bold> <dim>│</fg>
2020+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
2121+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
2222+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
2323+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
2424+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
2525+<dim>│</fg> <dim>string test string test string test string test string </bold> <dim>│</fg>
2626+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
2727+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
2828+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
2929+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
3030+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
3131+<dim>│</fg> <dim>string test string test string test string test string</bold> <dim>│</fg>
3232+<dim>│</fg> <dim>│</fg>
3333+<dim>├───────────────────────────────────────────────────────────────────────╯</fg>
3434",
3535]
3636`;
37373838exports[`note (isCI = false) > don't overflow with formatter 1`] = `
3939[
4040- "[90m│[39m
4141-[32m◇[39m [0mtitle[0m [90m─────────────────────────────────────────────────────────────────╮[39m
4242-[90m│[39m [90m│[39m
4343-[90m│[39m [31m* [36mtest string test string test string test string test string test [31m *[39m [90m│[39m
4444-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
4545-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
4646-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
4747-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
4848-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
4949-[90m│[39m [31m* [36mstring test string [31m *[39m [90m│[39m
5050-[90m│[39m [31m* [36mtest string test string test string test string test string test [31m *[39m [90m│[39m
5151-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
5252-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
5353-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
5454-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
5555-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
5656-[90m│[39m [31m* [36mstring test string [31m *[39m [90m│[39m
5757-[90m│[39m [31m* [36mtest string test string test string test string test string test [31m *[39m [90m│[39m
5858-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
5959-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
6060-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
6161-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
6262-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
6363-[90m│[39m [31m* [36mstring test string [31m *[39m [90m│[39m
6464-[90m│[39m [31m* [36mtest string test string test string test string test string test [31m *[39m [90m│[39m
6565-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
6666-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
6767-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
6868-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
6969-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
7070-[90m│[39m [31m* [36mstring test string[31m *[39m [90m│[39m
7171-[90m│[39m [90m│[39m
7272-[90m├─────────────────────────────────────────────────────────────────────────╯[39m
4040+ "<dim>│</fg>
4141+<green>◇</fg> </>title</> <dim>─────────────────────────────────────────────────────────────────╮</fg>
4242+<dim>│</fg> <dim>│</fg>
4343+<dim>│</fg> <red>* <cyan>test string test string test string test string test string test <red> *</fg> <dim>│</fg>
4444+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
4545+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
4646+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
4747+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
4848+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
4949+<dim>│</fg> <red>* <cyan>string test string <red> *</fg> <dim>│</fg>
5050+<dim>│</fg> <red>* <cyan>test string test string test string test string test string test <red> *</fg> <dim>│</fg>
5151+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
5252+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
5353+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
5454+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
5555+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
5656+<dim>│</fg> <red>* <cyan>string test string <red> *</fg> <dim>│</fg>
5757+<dim>│</fg> <red>* <cyan>test string test string test string test string test string test <red> *</fg> <dim>│</fg>
5858+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
5959+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
6060+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
6161+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
6262+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
6363+<dim>│</fg> <red>* <cyan>string test string <red> *</fg> <dim>│</fg>
6464+<dim>│</fg> <red>* <cyan>test string test string test string test string test string test <red> *</fg> <dim>│</fg>
6565+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
6666+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
6767+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
6868+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
6969+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
7070+<dim>│</fg> <red>* <cyan>string test string<red> *</fg> <dim>│</fg>
7171+<dim>│</fg> <dim>│</fg>
7272+<dim>├─────────────────────────────────────────────────────────────────────────╯</fg>
7373",
7474]
7575`;
76767777exports[`note (isCI = false) > formatter which adds colors works 1`] = `
7878[
7979- "[90m│[39m
8080-[32m◇[39m [0mtitle[0m [90m──╮[39m
8181-[90m│[39m [90m│[39m
8282-[90m│[39m [31mline 0[39m [90m│[39m
8383-[90m│[39m [31mline 1[39m [90m│[39m
8484-[90m│[39m [31mline 2[39m [90m│[39m
8585-[90m│[39m [90m│[39m
8686-[90m├──────────╯[39m
7979+ "<dim>│</fg>
8080+<green>◇</fg> </>title</> <dim>──╮</fg>
8181+<dim>│</fg> <dim>│</fg>
8282+<dim>│</fg> <red>line 0</fg> <dim>│</fg>
8383+<dim>│</fg> <red>line 1</fg> <dim>│</fg>
8484+<dim>│</fg> <red>line 2</fg> <dim>│</fg>
8585+<dim>│</fg> <dim>│</fg>
8686+<dim>├──────────╯</fg>
8787",
8888]
8989`;
90909191exports[`note (isCI = false) > formatter which adds length works 1`] = `
9292[
9393- "[90m│[39m
9494-[32m◇[39m [0mtitle[0m [90m──────╮[39m
9595-[90m│[39m [90m│[39m
9696-[90m│[39m * line 0 * [90m│[39m
9797-[90m│[39m * line 1 * [90m│[39m
9898-[90m│[39m * line 2 * [90m│[39m
9999-[90m│[39m [90m│[39m
100100-[90m├──────────────╯[39m
9393+ "<dim>│</fg>
9494+<green>◇</fg> </>title</> <dim>──────╮</fg>
9595+<dim>│</fg> <dim>│</fg>
9696+<dim>│</fg> * line 0 * <dim>│</fg>
9797+<dim>│</fg> * line 1 * <dim>│</fg>
9898+<dim>│</fg> * line 2 * <dim>│</fg>
9999+<dim>│</fg> <dim>│</fg>
100100+<dim>├──────────────╯</fg>
101101",
102102]
103103`;
104104105105exports[`note (isCI = false) > handle wide characters 1`] = `
106106[
107107- "[90m│[39m
108108-[32m◇[39m [0m这是标题[0m [90m─╮[39m
109109-[90m│[39m [90m│[39m
110110-[90m│[39m [2m이게[22m [90m│[39m
111111-[90m│[39m [2m 첫 [22m [90m│[39m
112112-[90m│[39m [2m번째[22m [90m│[39m
113113-[90m│[39m [2m [22m [90m│[39m
114114-[90m│[39m [2m줄이[22m [90m│[39m
115115-[90m│[39m [2m에요[22m [90m│[39m
116116-[90m│[39m [2mこれ[22m [90m│[39m
117117-[90m│[39m [2mは次[22m [90m│[39m
118118-[90m│[39m [2mの行[22m [90m│[39m
119119-[90m│[39m [2mです[22m [90m│[39m
120120-[90m│[39m [90m│[39m
121121-[90m├────────────╯[39m
107107+ "<dim>│</fg>
108108+<green>◇</fg> </>这是标题</> <dim>─╮</fg>
109109+<dim>│</fg> <dim>│</fg>
110110+<dim>│</fg> <dim>이게</bold> <dim>│</fg>
111111+<dim>│</fg> <dim> 첫 </bold> <dim>│</fg>
112112+<dim>│</fg> <dim>번째</bold> <dim>│</fg>
113113+<dim>│</fg> <dim> </bold> <dim>│</fg>
114114+<dim>│</fg> <dim>줄이</bold> <dim>│</fg>
115115+<dim>│</fg> <dim>에요</bold> <dim>│</fg>
116116+<dim>│</fg> <dim>これ</bold> <dim>│</fg>
117117+<dim>│</fg> <dim>は次</bold> <dim>│</fg>
118118+<dim>│</fg> <dim>の行</bold> <dim>│</fg>
119119+<dim>│</fg> <dim>です</bold> <dim>│</fg>
120120+<dim>│</fg> <dim>│</fg>
121121+<dim>├────────────╯</fg>
122122",
123123]
124124`;
125125126126exports[`note (isCI = false) > handle wide characters with formatter 1`] = `
127127[
128128- "[90m│[39m
129129-[32m◇[39m [0m这是标题[0m [90m─╮[39m
130130-[90m│[39m [90m│[39m
131131-[90m│[39m [31m* [36m[31m *[39m [90m│[39m
132132-[90m│[39m [31m* [36m이[31m *[39m [90m│[39m
133133-[90m│[39m [31m* [36m게[31m *[39m [90m│[39m
134134-[90m│[39m [31m* [36m [31m *[39m [90m│[39m
135135-[90m│[39m [31m* [36m첫[31m *[39m [90m│[39m
136136-[90m│[39m [31m* [36m [31m *[39m [90m│[39m
137137-[90m│[39m [31m* [36m번[31m *[39m [90m│[39m
138138-[90m│[39m [31m* [36m째[31m *[39m [90m│[39m
139139-[90m│[39m [31m* [36m [31m *[39m [90m│[39m
140140-[90m│[39m [31m* [36m줄[31m *[39m [90m│[39m
141141-[90m│[39m [31m* [36m이[31m *[39m [90m│[39m
142142-[90m│[39m [31m* [36m에[31m *[39m [90m│[39m
143143-[90m│[39m [31m* [36m요[31m *[39m [90m│[39m
144144-[90m│[39m [31m* [36m[31m *[39m [90m│[39m
145145-[90m│[39m [31m* [36mこ[31m *[39m [90m│[39m
146146-[90m│[39m [31m* [36mれ[31m *[39m [90m│[39m
147147-[90m│[39m [31m* [36mは[31m *[39m [90m│[39m
148148-[90m│[39m [31m* [36m次[31m *[39m [90m│[39m
149149-[90m│[39m [31m* [36mの[31m *[39m [90m│[39m
150150-[90m│[39m [31m* [36m行[31m *[39m [90m│[39m
151151-[90m│[39m [31m* [36mで[31m *[39m [90m│[39m
152152-[90m│[39m [31m* [36mす[31m *[39m [90m│[39m
153153-[90m│[39m [90m│[39m
154154-[90m├────────────╯[39m
128128+ "<dim>│</fg>
129129+<green>◇</fg> </>这是标题</> <dim>─╮</fg>
130130+<dim>│</fg> <dim>│</fg>
131131+<dim>│</fg> <red>* <cyan><red> *</fg> <dim>│</fg>
132132+<dim>│</fg> <red>* <cyan>이<red> *</fg> <dim>│</fg>
133133+<dim>│</fg> <red>* <cyan>게<red> *</fg> <dim>│</fg>
134134+<dim>│</fg> <red>* <cyan> <red> *</fg> <dim>│</fg>
135135+<dim>│</fg> <red>* <cyan>첫<red> *</fg> <dim>│</fg>
136136+<dim>│</fg> <red>* <cyan> <red> *</fg> <dim>│</fg>
137137+<dim>│</fg> <red>* <cyan>번<red> *</fg> <dim>│</fg>
138138+<dim>│</fg> <red>* <cyan>째<red> *</fg> <dim>│</fg>
139139+<dim>│</fg> <red>* <cyan> <red> *</fg> <dim>│</fg>
140140+<dim>│</fg> <red>* <cyan>줄<red> *</fg> <dim>│</fg>
141141+<dim>│</fg> <red>* <cyan>이<red> *</fg> <dim>│</fg>
142142+<dim>│</fg> <red>* <cyan>에<red> *</fg> <dim>│</fg>
143143+<dim>│</fg> <red>* <cyan>요<red> *</fg> <dim>│</fg>
144144+<dim>│</fg> <red>* <cyan><red> *</fg> <dim>│</fg>
145145+<dim>│</fg> <red>* <cyan>こ<red> *</fg> <dim>│</fg>
146146+<dim>│</fg> <red>* <cyan>れ<red> *</fg> <dim>│</fg>
147147+<dim>│</fg> <red>* <cyan>は<red> *</fg> <dim>│</fg>
148148+<dim>│</fg> <red>* <cyan>次<red> *</fg> <dim>│</fg>
149149+<dim>│</fg> <red>* <cyan>の<red> *</fg> <dim>│</fg>
150150+<dim>│</fg> <red>* <cyan>行<red> *</fg> <dim>│</fg>
151151+<dim>│</fg> <red>* <cyan>で<red> *</fg> <dim>│</fg>
152152+<dim>│</fg> <red>* <cyan>す<red> *</fg> <dim>│</fg>
153153+<dim>│</fg> <dim>│</fg>
154154+<dim>├────────────╯</fg>
155155",
156156]
157157`;
158158159159exports[`note (isCI = false) > renders as wide as longest line 1`] = `
160160[
161161- "[90m│[39m
162162-[32m◇[39m [0mtitle[0m [90m───────────────────────────╮[39m
163163-[90m│[39m [90m│[39m
164164-[90m│[39m [2mshort[22m [90m│[39m
165165-[90m│[39m [2msomewhat questionably long line[22m [90m│[39m
166166-[90m│[39m [90m│[39m
167167-[90m├───────────────────────────────────╯[39m
161161+ "<dim>│</fg>
162162+<green>◇</fg> </>title</> <dim>───────────────────────────╮</fg>
163163+<dim>│</fg> <dim>│</fg>
164164+<dim>│</fg> <dim>short</bold> <dim>│</fg>
165165+<dim>│</fg> <dim>somewhat questionably long line</bold> <dim>│</fg>
166166+<dim>│</fg> <dim>│</fg>
167167+<dim>├───────────────────────────────────╯</fg>
168168",
169169]
170170`;
171171172172exports[`note (isCI = false) > renders message with title 1`] = `
173173[
174174- "[90m│[39m
175175-[32m◇[39m [0mtitle[0m [90m───╮[39m
176176-[90m│[39m [90m│[39m
177177-[90m│[39m [2mmessage[22m [90m│[39m
178178-[90m│[39m [90m│[39m
179179-[90m├───────────╯[39m
174174+ "<dim>│</fg>
175175+<green>◇</fg> </>title</> <dim>───╮</fg>
176176+<dim>│</fg> <dim>│</fg>
177177+<dim>│</fg> <dim>message</bold> <dim>│</fg>
178178+<dim>│</fg> <dim>│</fg>
179179+<dim>├───────────╯</fg>
180180",
181181]
182182`;
183183184184exports[`note (isCI = false) > without guide 1`] = `
185185[
186186- "[32m◇[39m [0mtitle[0m [90m───╮[39m
187187-[90m│[39m [90m│[39m
188188-[90m│[39m [2mmessage[22m [90m│[39m
189189-[90m│[39m [90m│[39m
190190-[90m╰───────────╯[39m
186186+ "<green>◇</fg> </>title</> <dim>───╮</fg>
187187+<dim>│</fg> <dim>│</fg>
188188+<dim>│</fg> <dim>message</bold> <dim>│</fg>
189189+<dim>│</fg> <dim>│</fg>
190190+<dim>╰───────────╯</fg>
191191",
192192]
193193`;
194194195195exports[`note (isCI = true) > don't overflow 1`] = `
196196[
197197- "[90m│[39m
198198-[32m◇[39m [0mtitle[0m [90m───────────────────────────────────────────────────────────────╮[39m
199199-[90m│[39m [90m│[39m
200200-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
201201-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
202202-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
203203-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
204204-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
205205-[90m│[39m [2mstring test string test string test string test string [22m [90m│[39m
206206-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
207207-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
208208-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
209209-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
210210-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
211211-[90m│[39m [2mstring test string test string test string test string [22m [90m│[39m
212212-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
213213-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
214214-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
215215-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
216216-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
217217-[90m│[39m [2mstring test string test string test string test string [22m [90m│[39m
218218-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
219219-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
220220-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
221221-[90m│[39m [2mstring test string test string test string test string test string [22m [90m│[39m
222222-[90m│[39m [2mtest string test string test string test string test string test [22m [90m│[39m
223223-[90m│[39m [2mstring test string test string test string test string[22m [90m│[39m
224224-[90m│[39m [90m│[39m
225225-[90m├───────────────────────────────────────────────────────────────────────╯[39m
197197+ "<dim>│</fg>
198198+<green>◇</fg> </>title</> <dim>───────────────────────────────────────────────────────────────╮</fg>
199199+<dim>│</fg> <dim>│</fg>
200200+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
201201+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
202202+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
203203+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
204204+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
205205+<dim>│</fg> <dim>string test string test string test string test string </bold> <dim>│</fg>
206206+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
207207+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
208208+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
209209+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
210210+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
211211+<dim>│</fg> <dim>string test string test string test string test string </bold> <dim>│</fg>
212212+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
213213+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
214214+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
215215+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
216216+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
217217+<dim>│</fg> <dim>string test string test string test string test string </bold> <dim>│</fg>
218218+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
219219+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
220220+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
221221+<dim>│</fg> <dim>string test string test string test string test string test string </bold> <dim>│</fg>
222222+<dim>│</fg> <dim>test string test string test string test string test string test </bold> <dim>│</fg>
223223+<dim>│</fg> <dim>string test string test string test string test string</bold> <dim>│</fg>
224224+<dim>│</fg> <dim>│</fg>
225225+<dim>├───────────────────────────────────────────────────────────────────────╯</fg>
226226",
227227]
228228`;
229229230230exports[`note (isCI = true) > don't overflow with formatter 1`] = `
231231[
232232- "[90m│[39m
233233-[32m◇[39m [0mtitle[0m [90m─────────────────────────────────────────────────────────────────╮[39m
234234-[90m│[39m [90m│[39m
235235-[90m│[39m [31m* [36mtest string test string test string test string test string test [31m *[39m [90m│[39m
236236-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
237237-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
238238-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
239239-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
240240-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
241241-[90m│[39m [31m* [36mstring test string [31m *[39m [90m│[39m
242242-[90m│[39m [31m* [36mtest string test string test string test string test string test [31m *[39m [90m│[39m
243243-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
244244-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
245245-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
246246-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
247247-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
248248-[90m│[39m [31m* [36mstring test string [31m *[39m [90m│[39m
249249-[90m│[39m [31m* [36mtest string test string test string test string test string test [31m *[39m [90m│[39m
250250-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
251251-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
252252-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
253253-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
254254-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
255255-[90m│[39m [31m* [36mstring test string [31m *[39m [90m│[39m
256256-[90m│[39m [31m* [36mtest string test string test string test string test string test [31m *[39m [90m│[39m
257257-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
258258-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
259259-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
260260-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
261261-[90m│[39m [31m* [36mstring test string test string test string test string test [31m *[39m [90m│[39m
262262-[90m│[39m [31m* [36mstring test string[31m *[39m [90m│[39m
263263-[90m│[39m [90m│[39m
264264-[90m├─────────────────────────────────────────────────────────────────────────╯[39m
232232+ "<dim>│</fg>
233233+<green>◇</fg> </>title</> <dim>─────────────────────────────────────────────────────────────────╮</fg>
234234+<dim>│</fg> <dim>│</fg>
235235+<dim>│</fg> <red>* <cyan>test string test string test string test string test string test <red> *</fg> <dim>│</fg>
236236+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
237237+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
238238+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
239239+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
240240+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
241241+<dim>│</fg> <red>* <cyan>string test string <red> *</fg> <dim>│</fg>
242242+<dim>│</fg> <red>* <cyan>test string test string test string test string test string test <red> *</fg> <dim>│</fg>
243243+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
244244+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
245245+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
246246+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
247247+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
248248+<dim>│</fg> <red>* <cyan>string test string <red> *</fg> <dim>│</fg>
249249+<dim>│</fg> <red>* <cyan>test string test string test string test string test string test <red> *</fg> <dim>│</fg>
250250+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
251251+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
252252+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
253253+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
254254+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
255255+<dim>│</fg> <red>* <cyan>string test string <red> *</fg> <dim>│</fg>
256256+<dim>│</fg> <red>* <cyan>test string test string test string test string test string test <red> *</fg> <dim>│</fg>
257257+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
258258+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
259259+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
260260+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
261261+<dim>│</fg> <red>* <cyan>string test string test string test string test string test <red> *</fg> <dim>│</fg>
262262+<dim>│</fg> <red>* <cyan>string test string<red> *</fg> <dim>│</fg>
263263+<dim>│</fg> <dim>│</fg>
264264+<dim>├─────────────────────────────────────────────────────────────────────────╯</fg>
265265",
266266]
267267`;
268268269269exports[`note (isCI = true) > formatter which adds colors works 1`] = `
270270[
271271- "[90m│[39m
272272-[32m◇[39m [0mtitle[0m [90m──╮[39m
273273-[90m│[39m [90m│[39m
274274-[90m│[39m [31mline 0[39m [90m│[39m
275275-[90m│[39m [31mline 1[39m [90m│[39m
276276-[90m│[39m [31mline 2[39m [90m│[39m
277277-[90m│[39m [90m│[39m
278278-[90m├──────────╯[39m
271271+ "<dim>│</fg>
272272+<green>◇</fg> </>title</> <dim>──╮</fg>
273273+<dim>│</fg> <dim>│</fg>
274274+<dim>│</fg> <red>line 0</fg> <dim>│</fg>
275275+<dim>│</fg> <red>line 1</fg> <dim>│</fg>
276276+<dim>│</fg> <red>line 2</fg> <dim>│</fg>
277277+<dim>│</fg> <dim>│</fg>
278278+<dim>├──────────╯</fg>
279279",
280280]
281281`;
282282283283exports[`note (isCI = true) > formatter which adds length works 1`] = `
284284[
285285- "[90m│[39m
286286-[32m◇[39m [0mtitle[0m [90m──────╮[39m
287287-[90m│[39m [90m│[39m
288288-[90m│[39m * line 0 * [90m│[39m
289289-[90m│[39m * line 1 * [90m│[39m
290290-[90m│[39m * line 2 * [90m│[39m
291291-[90m│[39m [90m│[39m
292292-[90m├──────────────╯[39m
285285+ "<dim>│</fg>
286286+<green>◇</fg> </>title</> <dim>──────╮</fg>
287287+<dim>│</fg> <dim>│</fg>
288288+<dim>│</fg> * line 0 * <dim>│</fg>
289289+<dim>│</fg> * line 1 * <dim>│</fg>
290290+<dim>│</fg> * line 2 * <dim>│</fg>
291291+<dim>│</fg> <dim>│</fg>
292292+<dim>├──────────────╯</fg>
293293",
294294]
295295`;
296296297297exports[`note (isCI = true) > handle wide characters 1`] = `
298298[
299299- "[90m│[39m
300300-[32m◇[39m [0m这是标题[0m [90m─╮[39m
301301-[90m│[39m [90m│[39m
302302-[90m│[39m [2m이게[22m [90m│[39m
303303-[90m│[39m [2m 첫 [22m [90m│[39m
304304-[90m│[39m [2m번째[22m [90m│[39m
305305-[90m│[39m [2m [22m [90m│[39m
306306-[90m│[39m [2m줄이[22m [90m│[39m
307307-[90m│[39m [2m에요[22m [90m│[39m
308308-[90m│[39m [2mこれ[22m [90m│[39m
309309-[90m│[39m [2mは次[22m [90m│[39m
310310-[90m│[39m [2mの行[22m [90m│[39m
311311-[90m│[39m [2mです[22m [90m│[39m
312312-[90m│[39m [90m│[39m
313313-[90m├────────────╯[39m
299299+ "<dim>│</fg>
300300+<green>◇</fg> </>这是标题</> <dim>─╮</fg>
301301+<dim>│</fg> <dim>│</fg>
302302+<dim>│</fg> <dim>이게</bold> <dim>│</fg>
303303+<dim>│</fg> <dim> 첫 </bold> <dim>│</fg>
304304+<dim>│</fg> <dim>번째</bold> <dim>│</fg>
305305+<dim>│</fg> <dim> </bold> <dim>│</fg>
306306+<dim>│</fg> <dim>줄이</bold> <dim>│</fg>
307307+<dim>│</fg> <dim>에요</bold> <dim>│</fg>
308308+<dim>│</fg> <dim>これ</bold> <dim>│</fg>
309309+<dim>│</fg> <dim>は次</bold> <dim>│</fg>
310310+<dim>│</fg> <dim>の行</bold> <dim>│</fg>
311311+<dim>│</fg> <dim>です</bold> <dim>│</fg>
312312+<dim>│</fg> <dim>│</fg>
313313+<dim>├────────────╯</fg>
314314",
315315]
316316`;
317317318318exports[`note (isCI = true) > handle wide characters with formatter 1`] = `
319319[
320320- "[90m│[39m
321321-[32m◇[39m [0m这是标题[0m [90m─╮[39m
322322-[90m│[39m [90m│[39m
323323-[90m│[39m [31m* [36m[31m *[39m [90m│[39m
324324-[90m│[39m [31m* [36m이[31m *[39m [90m│[39m
325325-[90m│[39m [31m* [36m게[31m *[39m [90m│[39m
326326-[90m│[39m [31m* [36m [31m *[39m [90m│[39m
327327-[90m│[39m [31m* [36m첫[31m *[39m [90m│[39m
328328-[90m│[39m [31m* [36m [31m *[39m [90m│[39m
329329-[90m│[39m [31m* [36m번[31m *[39m [90m│[39m
330330-[90m│[39m [31m* [36m째[31m *[39m [90m│[39m
331331-[90m│[39m [31m* [36m [31m *[39m [90m│[39m
332332-[90m│[39m [31m* [36m줄[31m *[39m [90m│[39m
333333-[90m│[39m [31m* [36m이[31m *[39m [90m│[39m
334334-[90m│[39m [31m* [36m에[31m *[39m [90m│[39m
335335-[90m│[39m [31m* [36m요[31m *[39m [90m│[39m
336336-[90m│[39m [31m* [36m[31m *[39m [90m│[39m
337337-[90m│[39m [31m* [36mこ[31m *[39m [90m│[39m
338338-[90m│[39m [31m* [36mれ[31m *[39m [90m│[39m
339339-[90m│[39m [31m* [36mは[31m *[39m [90m│[39m
340340-[90m│[39m [31m* [36m次[31m *[39m [90m│[39m
341341-[90m│[39m [31m* [36mの[31m *[39m [90m│[39m
342342-[90m│[39m [31m* [36m行[31m *[39m [90m│[39m
343343-[90m│[39m [31m* [36mで[31m *[39m [90m│[39m
344344-[90m│[39m [31m* [36mす[31m *[39m [90m│[39m
345345-[90m│[39m [90m│[39m
346346-[90m├────────────╯[39m
320320+ "<dim>│</fg>
321321+<green>◇</fg> </>这是标题</> <dim>─╮</fg>
322322+<dim>│</fg> <dim>│</fg>
323323+<dim>│</fg> <red>* <cyan><red> *</fg> <dim>│</fg>
324324+<dim>│</fg> <red>* <cyan>이<red> *</fg> <dim>│</fg>
325325+<dim>│</fg> <red>* <cyan>게<red> *</fg> <dim>│</fg>
326326+<dim>│</fg> <red>* <cyan> <red> *</fg> <dim>│</fg>
327327+<dim>│</fg> <red>* <cyan>첫<red> *</fg> <dim>│</fg>
328328+<dim>│</fg> <red>* <cyan> <red> *</fg> <dim>│</fg>
329329+<dim>│</fg> <red>* <cyan>번<red> *</fg> <dim>│</fg>
330330+<dim>│</fg> <red>* <cyan>째<red> *</fg> <dim>│</fg>
331331+<dim>│</fg> <red>* <cyan> <red> *</fg> <dim>│</fg>
332332+<dim>│</fg> <red>* <cyan>줄<red> *</fg> <dim>│</fg>
333333+<dim>│</fg> <red>* <cyan>이<red> *</fg> <dim>│</fg>
334334+<dim>│</fg> <red>* <cyan>에<red> *</fg> <dim>│</fg>
335335+<dim>│</fg> <red>* <cyan>요<red> *</fg> <dim>│</fg>
336336+<dim>│</fg> <red>* <cyan><red> *</fg> <dim>│</fg>
337337+<dim>│</fg> <red>* <cyan>こ<red> *</fg> <dim>│</fg>
338338+<dim>│</fg> <red>* <cyan>れ<red> *</fg> <dim>│</fg>
339339+<dim>│</fg> <red>* <cyan>は<red> *</fg> <dim>│</fg>
340340+<dim>│</fg> <red>* <cyan>次<red> *</fg> <dim>│</fg>
341341+<dim>│</fg> <red>* <cyan>の<red> *</fg> <dim>│</fg>
342342+<dim>│</fg> <red>* <cyan>行<red> *</fg> <dim>│</fg>
343343+<dim>│</fg> <red>* <cyan>で<red> *</fg> <dim>│</fg>
344344+<dim>│</fg> <red>* <cyan>す<red> *</fg> <dim>│</fg>
345345+<dim>│</fg> <dim>│</fg>
346346+<dim>├────────────╯</fg>
347347",
348348]
349349`;
350350351351exports[`note (isCI = true) > renders as wide as longest line 1`] = `
352352[
353353- "[90m│[39m
354354-[32m◇[39m [0mtitle[0m [90m───────────────────────────╮[39m
355355-[90m│[39m [90m│[39m
356356-[90m│[39m [2mshort[22m [90m│[39m
357357-[90m│[39m [2msomewhat questionably long line[22m [90m│[39m
358358-[90m│[39m [90m│[39m
359359-[90m├───────────────────────────────────╯[39m
353353+ "<dim>│</fg>
354354+<green>◇</fg> </>title</> <dim>───────────────────────────╮</fg>
355355+<dim>│</fg> <dim>│</fg>
356356+<dim>│</fg> <dim>short</bold> <dim>│</fg>
357357+<dim>│</fg> <dim>somewhat questionably long line</bold> <dim>│</fg>
358358+<dim>│</fg> <dim>│</fg>
359359+<dim>├───────────────────────────────────╯</fg>
360360",
361361]
362362`;
363363364364exports[`note (isCI = true) > renders message with title 1`] = `
365365[
366366- "[90m│[39m
367367-[32m◇[39m [0mtitle[0m [90m───╮[39m
368368-[90m│[39m [90m│[39m
369369-[90m│[39m [2mmessage[22m [90m│[39m
370370-[90m│[39m [90m│[39m
371371-[90m├───────────╯[39m
366366+ "<dim>│</fg>
367367+<green>◇</fg> </>title</> <dim>───╮</fg>
368368+<dim>│</fg> <dim>│</fg>
369369+<dim>│</fg> <dim>message</bold> <dim>│</fg>
370370+<dim>│</fg> <dim>│</fg>
371371+<dim>├───────────╯</fg>
372372",
373373]
374374`;
375375376376exports[`note (isCI = true) > without guide 1`] = `
377377[
378378- "[32m◇[39m [0mtitle[0m [90m───╮[39m
379379-[90m│[39m [90m│[39m
380380-[90m│[39m [2mmessage[22m [90m│[39m
381381-[90m│[39m [90m│[39m
382382-[90m╰───────────╯[39m
378378+ "<green>◇</fg> </>title</> <dim>───╮</fg>
379379+<dim>│</fg> <dim>│</fg>
380380+<dim>│</fg> <dim>message</bold> <dim>│</fg>
381381+<dim>│</fg> <dim>│</fg>
382382+<dim>╰───────────╯</fg>
383383",
384384]
385385`;
···33exports[`text (isCI = false) > can cancel by pressing escape 1`] = `
44[
55 "<cursor.hide>",
66- "[90m│[39m
77-[36m◆[39m foo
88-[36m│[39m [46m[90m a [39m[49m Option A
99-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
1010-[36m└[39m
66+ "<dim>│</fg>
77+<cyan>◆</fg> foo
88+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option A
99+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
1010+<cyan>└</fg>
1111",
1212 "<cursor.backward count=999><cursor.up count=5>",
1313 "<cursor.down count=1>",
1414 "<erase.down>",
1515- "[31m■[39m foo
1616-[90m│[39m [9m[2mOption A[22m[29m
1717-[90m│[39m",
1515+ "<red>■</fg> foo
1616+<dim>│</fg> [9m<dim>Option A</bold>[29m
1717+<dim>│</fg>",
1818 "
1919",
2020 "<cursor.show>",
···2424exports[`text (isCI = false) > caseSensitive: true makes input case-sensitive 1`] = `
2525[
2626 "<cursor.hide>",
2727- "[90m│[39m
2828-[36m◆[39m foo
2929-[36m│[39m [46m[90m a [39m[49m Option a
3030-[36m│[39m [90m[47m[7m A [27m[49m[39m Option A
3131-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
3232-[36m└[39m
2727+ "<dim>│</fg>
2828+<cyan>◆</fg> foo
2929+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option a
3030+<cyan>│</fg> <dim><bg:white>[7m A [27m</bg></fg> Option A
3131+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
3232+<cyan>└</fg>
3333",
3434 "<cursor.show>",
3535 "<cursor.backward count=999><cursor.up count=6>",
3636 "<cursor.down count=1>",
3737 "<erase.down>",
3838- "[32m◇[39m foo
3939-[90m│[39m [2mOption A[22m",
3838+ "<green>◇</fg> foo
3939+<dim>│</fg> <dim>Option A</bold>",
4040 "
4141",
4242]
···4545exports[`text (isCI = false) > caseSensitive: true makes options case-sensitive 1`] = `
4646[
4747 "<cursor.hide>",
4848- "[90m│[39m
4949-[36m◆[39m foo
5050-[36m│[39m [46m[90m A [39m[49m Option A
5151-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
5252-[36m└[39m
4848+ "<dim>│</fg>
4949+<cyan>◆</fg> foo
5050+<cyan>│</fg> <bg:cyan><dim> A </fg></bg> Option A
5151+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
5252+<cyan>└</fg>
5353",
5454 "<cursor.backward count=999><cursor.up count=5>",
5555 "<cursor.down count=1>",
5656 "<erase.down>",
5757- "[31m■[39m foo
5858-[90m│[39m [9m[2mOption A[22m[29m
5959-[90m│[39m",
5757+ "<red>■</fg> foo
5858+<dim>│</fg> [9m<dim>Option A</bold>[29m
5959+<dim>│</fg>",
6060 "
6161",
6262 "<cursor.show>",
···6666exports[`text (isCI = false) > global withGuide: false removes guide 1`] = `
6767[
6868 "<cursor.hide>",
6969- "[36m◆[39m foo
7070-[46m[90m a [39m[49m Option A
7171-[90m[47m[7m b [27m[49m[39m Option B
6969+ "<cyan>◆</fg> foo
7070+<bg:cyan><dim> a </fg></bg> Option A
7171+<dim><bg:white>[7m b [27m</bg></fg> Option B
72727373",
7474 "<cursor.show>",
7575 "<cursor.backward count=999><cursor.up count=4>",
7676 "<erase.down>",
7777- "[32m◇[39m foo
7878-[2mOption A[22m",
7777+ "<green>◇</fg> foo
7878+<dim>Option A</bold>",
7979 "
8080",
8181]
···8484exports[`text (isCI = false) > input is case-insensitive by default 1`] = `
8585[
8686 "<cursor.hide>",
8787- "[90m│[39m
8888-[36m◆[39m foo
8989-[36m│[39m [46m[90m a [39m[49m Option A
9090-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
9191-[36m└[39m
8787+ "<dim>│</fg>
8888+<cyan>◆</fg> foo
8989+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option A
9090+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
9191+<cyan>└</fg>
9292",
9393 "<cursor.show>",
9494 "<cursor.backward count=999><cursor.up count=5>",
9595 "<cursor.down count=1>",
9696 "<erase.down>",
9797- "[32m◇[39m foo
9898-[90m│[39m [2mOption A[22m",
9797+ "<green>◇</fg> foo
9898+<dim>│</fg> <dim>Option A</bold>",
9999 "
100100",
101101]
···104104exports[`text (isCI = false) > long cancelled labels are wrapped correctly 1`] = `
105105[
106106 "<cursor.hide>",
107107- "[90m│[39m
108108-[36m◆[39m Select an option:
109109-[36m│[39m [46m[90m a [39m[49m This is a somewhat long
110110-[36m│[39m label This is a somewhat
111111-[36m│[39m long label This is a
112112-[36m│[39m somewhat long label This is
113113-[36m│[39m a somewhat long label This
114114-[36m│[39m is a somewhat long label
115115-[36m│[39m This is a somewhat long
116116-[36m│[39m label This is a somewhat
117117-[36m│[39m long label This is a
118118-[36m│[39m somewhat long label This is
119119-[36m│[39m a somewhat long label This
120120-[36m│[39m is a somewhat long label
121121-[36m│[39m [90m[47m[7m b [27m[49m[39m Short label
122122-[36m└[39m
107107+ "<dim>│</fg>
108108+<cyan>◆</fg> Select an option:
109109+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> This is a somewhat long
110110+<cyan>│</fg> label This is a somewhat
111111+<cyan>│</fg> long label This is a
112112+<cyan>│</fg> somewhat long label This is
113113+<cyan>│</fg> a somewhat long label This
114114+<cyan>│</fg> is a somewhat long label
115115+<cyan>│</fg> This is a somewhat long
116116+<cyan>│</fg> label This is a somewhat
117117+<cyan>│</fg> long label This is a
118118+<cyan>│</fg> somewhat long label This is
119119+<cyan>│</fg> a somewhat long label This
120120+<cyan>│</fg> is a somewhat long label
121121+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Short label
122122+<cyan>└</fg>
123123",
124124 "<cursor.backward count=999><cursor.up count=16>",
125125 "<cursor.down count=1>",
126126 "<erase.down>",
127127- "[31m■[39m Select an option:
128128-[90m│[39m [9m[2mThis is a somewhat long [22m
129129-[90m│[39m [2mlabel This is a somewhat [22m
130130-[90m│[39m [2mlong label This is a [22m
131131-[90m│[39m [2msomewhat long label This is[22m
132132-[90m│[39m [2m a somewhat long label This[22m
133133-[90m│[39m [2m is a somewhat long label [22m
134134-[90m│[39m [2mThis is a somewhat long [22m
135135-[90m│[39m [2mlabel This is a somewhat [22m
136136-[90m│[39m [2mlong label This is a [22m
137137-[90m│[39m [2msomewhat long label This is[22m
138138-[90m│[39m [2m a somewhat long label This[22m
139139-[90m│[39m [2m is a somewhat long label[22m[29m
140140-[90m│[39m",
127127+ "<red>■</fg> Select an option:
128128+<dim>│</fg> [9m<dim>This is a somewhat long </bold>
129129+<dim>│</fg> <dim>label This is a somewhat </bold>
130130+<dim>│</fg> <dim>long label This is a </bold>
131131+<dim>│</fg> <dim>somewhat long label This is</bold>
132132+<dim>│</fg> <dim> a somewhat long label This</bold>
133133+<dim>│</fg> <dim> is a somewhat long label </bold>
134134+<dim>│</fg> <dim>This is a somewhat long </bold>
135135+<dim>│</fg> <dim>label This is a somewhat </bold>
136136+<dim>│</fg> <dim>long label This is a </bold>
137137+<dim>│</fg> <dim>somewhat long label This is</bold>
138138+<dim>│</fg> <dim> a somewhat long label This</bold>
139139+<dim>│</fg> <dim> is a somewhat long label</bold>[29m
140140+<dim>│</fg>",
141141 "
142142",
143143 "<cursor.show>",
···147147exports[`text (isCI = false) > long option labels are wrapped correctly 1`] = `
148148[
149149 "<cursor.hide>",
150150- "[90m│[39m
151151-[36m◆[39m Select an option:
152152-[36m│[39m [46m[90m a [39m[49m This is a somewhat long
153153-[36m│[39m label This is a somewhat
154154-[36m│[39m long label This is a
155155-[36m│[39m somewhat long label This is
156156-[36m│[39m a somewhat long label This
157157-[36m│[39m is a somewhat long label
158158-[36m│[39m This is a somewhat long
159159-[36m│[39m label This is a somewhat
160160-[36m│[39m long label This is a
161161-[36m│[39m somewhat long label This is
162162-[36m│[39m a somewhat long label This
163163-[36m│[39m is a somewhat long label
164164-[36m│[39m [90m[47m[7m b [27m[49m[39m Short label
165165-[36m└[39m
150150+ "<dim>│</fg>
151151+<cyan>◆</fg> Select an option:
152152+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> This is a somewhat long
153153+<cyan>│</fg> label This is a somewhat
154154+<cyan>│</fg> long label This is a
155155+<cyan>│</fg> somewhat long label This is
156156+<cyan>│</fg> a somewhat long label This
157157+<cyan>│</fg> is a somewhat long label
158158+<cyan>│</fg> This is a somewhat long
159159+<cyan>│</fg> label This is a somewhat
160160+<cyan>│</fg> long label This is a
161161+<cyan>│</fg> somewhat long label This is
162162+<cyan>│</fg> a somewhat long label This
163163+<cyan>│</fg> is a somewhat long label
164164+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Short label
165165+<cyan>└</fg>
166166",
167167 "<cursor.show>",
168168 "<cursor.backward count=999><cursor.up count=16>",
169169 "<cursor.down count=1>",
170170 "<erase.down>",
171171- "[32m◇[39m Select an option:
172172-[90m│[39m [2mThis is a somewhat long [22m
173173-[90m│[39m [2mlabel This is a somewhat [22m
174174-[90m│[39m [2mlong label This is a [22m
175175-[90m│[39m [2msomewhat long label This is[22m
176176-[90m│[39m [2m a somewhat long label This[22m
177177-[90m│[39m [2m is a somewhat long label [22m
178178-[90m│[39m [2mThis is a somewhat long [22m
179179-[90m│[39m [2mlabel This is a somewhat [22m
180180-[90m│[39m [2mlong label This is a [22m
181181-[90m│[39m [2msomewhat long label This is[22m
182182-[90m│[39m [2m a somewhat long label This[22m
183183-[90m│[39m [2m is a somewhat long label[22m",
171171+ "<green>◇</fg> Select an option:
172172+<dim>│</fg> <dim>This is a somewhat long </bold>
173173+<dim>│</fg> <dim>label This is a somewhat </bold>
174174+<dim>│</fg> <dim>long label This is a </bold>
175175+<dim>│</fg> <dim>somewhat long label This is</bold>
176176+<dim>│</fg> <dim> a somewhat long label This</bold>
177177+<dim>│</fg> <dim> is a somewhat long label </bold>
178178+<dim>│</fg> <dim>This is a somewhat long </bold>
179179+<dim>│</fg> <dim>label This is a somewhat </bold>
180180+<dim>│</fg> <dim>long label This is a </bold>
181181+<dim>│</fg> <dim>somewhat long label This is</bold>
182182+<dim>│</fg> <dim> a somewhat long label This</bold>
183183+<dim>│</fg> <dim> is a somewhat long label</bold>",
184184 "
185185",
186186]
···189189exports[`text (isCI = false) > long submitted labels are wrapped correctly 1`] = `
190190[
191191 "<cursor.hide>",
192192- "[90m│[39m
193193-[36m◆[39m Select an option:
194194-[36m│[39m [46m[90m a [39m[49m This is a somewhat long
195195-[36m│[39m label This is a somewhat
196196-[36m│[39m long label This is a
197197-[36m│[39m somewhat long label This is
198198-[36m│[39m a somewhat long label This
199199-[36m│[39m is a somewhat long label
200200-[36m│[39m This is a somewhat long
201201-[36m│[39m label This is a somewhat
202202-[36m│[39m long label This is a
203203-[36m│[39m somewhat long label This is
204204-[36m│[39m a somewhat long label This
205205-[36m│[39m is a somewhat long label
206206-[36m│[39m [90m[47m[7m b [27m[49m[39m Short label
207207-[36m└[39m
192192+ "<dim>│</fg>
193193+<cyan>◆</fg> Select an option:
194194+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> This is a somewhat long
195195+<cyan>│</fg> label This is a somewhat
196196+<cyan>│</fg> long label This is a
197197+<cyan>│</fg> somewhat long label This is
198198+<cyan>│</fg> a somewhat long label This
199199+<cyan>│</fg> is a somewhat long label
200200+<cyan>│</fg> This is a somewhat long
201201+<cyan>│</fg> label This is a somewhat
202202+<cyan>│</fg> long label This is a
203203+<cyan>│</fg> somewhat long label This is
204204+<cyan>│</fg> a somewhat long label This
205205+<cyan>│</fg> is a somewhat long label
206206+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Short label
207207+<cyan>└</fg>
208208",
209209 "<cursor.show>",
210210 "<cursor.backward count=999><cursor.up count=16>",
211211 "<cursor.down count=1>",
212212 "<erase.down>",
213213- "[32m◇[39m Select an option:
214214-[90m│[39m [2mThis is a somewhat long [22m
215215-[90m│[39m [2mlabel This is a somewhat [22m
216216-[90m│[39m [2mlong label This is a [22m
217217-[90m│[39m [2msomewhat long label This is[22m
218218-[90m│[39m [2m a somewhat long label This[22m
219219-[90m│[39m [2m is a somewhat long label [22m
220220-[90m│[39m [2mThis is a somewhat long [22m
221221-[90m│[39m [2mlabel This is a somewhat [22m
222222-[90m│[39m [2mlong label This is a [22m
223223-[90m│[39m [2msomewhat long label This is[22m
224224-[90m│[39m [2m a somewhat long label This[22m
225225-[90m│[39m [2m is a somewhat long label[22m",
213213+ "<green>◇</fg> Select an option:
214214+<dim>│</fg> <dim>This is a somewhat long </bold>
215215+<dim>│</fg> <dim>label This is a somewhat </bold>
216216+<dim>│</fg> <dim>long label This is a </bold>
217217+<dim>│</fg> <dim>somewhat long label This is</bold>
218218+<dim>│</fg> <dim> a somewhat long label This</bold>
219219+<dim>│</fg> <dim> is a somewhat long label </bold>
220220+<dim>│</fg> <dim>This is a somewhat long </bold>
221221+<dim>│</fg> <dim>label This is a somewhat </bold>
222222+<dim>│</fg> <dim>long label This is a </bold>
223223+<dim>│</fg> <dim>somewhat long label This is</bold>
224224+<dim>│</fg> <dim> a somewhat long label This</bold>
225225+<dim>│</fg> <dim> is a somewhat long label</bold>",
226226 "
227227",
228228]
···231231exports[`text (isCI = false) > options are case-insensitive by default 1`] = `
232232[
233233 "<cursor.hide>",
234234- "[90m│[39m
235235-[36m◆[39m foo
236236-[36m│[39m [46m[90m A [39m[49m Option A
237237-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
238238-[36m└[39m
234234+ "<dim>│</fg>
235235+<cyan>◆</fg> foo
236236+<cyan>│</fg> <bg:cyan><dim> A </fg></bg> Option A
237237+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
238238+<cyan>└</fg>
239239",
240240 "<cursor.show>",
241241 "<cursor.backward count=999><cursor.up count=5>",
242242 "<cursor.down count=1>",
243243 "<erase.down>",
244244- "[32m◇[39m foo
245245-[90m│[39m [2mOption A[22m",
244244+ "<green>◇</fg> foo
245245+<dim>│</fg> <dim>Option A</bold>",
246246 "
247247",
248248]
···251251exports[`text (isCI = false) > renders message with options 1`] = `
252252[
253253 "<cursor.hide>",
254254- "[90m│[39m
255255-[36m◆[39m foo
256256-[36m│[39m [46m[90m a [39m[49m Option A
257257-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
258258-[36m└[39m
254254+ "<dim>│</fg>
255255+<cyan>◆</fg> foo
256256+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option A
257257+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
258258+<cyan>└</fg>
259259",
260260 "<cursor.backward count=999><cursor.up count=5>",
261261 "<cursor.down count=1>",
262262 "<erase.down>",
263263- "[32m◇[39m foo
264264-[90m│[39m [2mOption A[22m",
263263+ "<green>◇</fg> foo
264264+<dim>│</fg> <dim>Option A</bold>",
265265 "
266266",
267267 "<cursor.show>",
···271271exports[`text (isCI = false) > selects option by keypress 1`] = `
272272[
273273 "<cursor.hide>",
274274- "[90m│[39m
275275-[36m◆[39m foo
276276-[36m│[39m [46m[90m a [39m[49m Option A
277277-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
278278-[36m└[39m
274274+ "<dim>│</fg>
275275+<cyan>◆</fg> foo
276276+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option A
277277+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
278278+<cyan>└</fg>
279279",
280280 "<cursor.show>",
281281 "<cursor.backward count=999><cursor.up count=5>",
282282 "<cursor.down count=1>",
283283 "<erase.down>",
284284- "[32m◇[39m foo
285285-[90m│[39m [2mOption B[22m",
284284+ "<green>◇</fg> foo
285285+<dim>│</fg> <dim>Option B</bold>",
286286 "
287287",
288288]
···291291exports[`text (isCI = false) > withGuide: false removes guide 1`] = `
292292[
293293 "<cursor.hide>",
294294- "[36m◆[39m foo
295295-[46m[90m a [39m[49m Option A
296296-[90m[47m[7m b [27m[49m[39m Option B
294294+ "<cyan>◆</fg> foo
295295+<bg:cyan><dim> a </fg></bg> Option A
296296+<dim><bg:white>[7m b [27m</bg></fg> Option B
297297298298",
299299 "<cursor.show>",
300300 "<cursor.backward count=999><cursor.up count=4>",
301301 "<erase.down>",
302302- "[32m◇[39m foo
303303-[2mOption A[22m",
302302+ "<green>◇</fg> foo
303303+<dim>Option A</bold>",
304304 "
305305",
306306]
···309309exports[`text (isCI = true) > can cancel by pressing escape 1`] = `
310310[
311311 "<cursor.hide>",
312312- "[90m│[39m
313313-[36m◆[39m foo
314314-[36m│[39m [46m[90m a [39m[49m Option A
315315-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
316316-[36m└[39m
312312+ "<dim>│</fg>
313313+<cyan>◆</fg> foo
314314+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option A
315315+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
316316+<cyan>└</fg>
317317",
318318 "<cursor.backward count=999><cursor.up count=5>",
319319 "<cursor.down count=1>",
320320 "<erase.down>",
321321- "[31m■[39m foo
322322-[90m│[39m [9m[2mOption A[22m[29m
323323-[90m│[39m",
321321+ "<red>■</fg> foo
322322+<dim>│</fg> [9m<dim>Option A</bold>[29m
323323+<dim>│</fg>",
324324 "
325325",
326326 "<cursor.show>",
···330330exports[`text (isCI = true) > caseSensitive: true makes input case-sensitive 1`] = `
331331[
332332 "<cursor.hide>",
333333- "[90m│[39m
334334-[36m◆[39m foo
335335-[36m│[39m [46m[90m a [39m[49m Option a
336336-[36m│[39m [90m[47m[7m A [27m[49m[39m Option A
337337-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
338338-[36m└[39m
333333+ "<dim>│</fg>
334334+<cyan>◆</fg> foo
335335+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option a
336336+<cyan>│</fg> <dim><bg:white>[7m A [27m</bg></fg> Option A
337337+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
338338+<cyan>└</fg>
339339",
340340 "<cursor.show>",
341341 "<cursor.backward count=999><cursor.up count=6>",
342342 "<cursor.down count=1>",
343343 "<erase.down>",
344344- "[32m◇[39m foo
345345-[90m│[39m [2mOption A[22m",
344344+ "<green>◇</fg> foo
345345+<dim>│</fg> <dim>Option A</bold>",
346346 "
347347",
348348]
···351351exports[`text (isCI = true) > caseSensitive: true makes options case-sensitive 1`] = `
352352[
353353 "<cursor.hide>",
354354- "[90m│[39m
355355-[36m◆[39m foo
356356-[36m│[39m [46m[90m A [39m[49m Option A
357357-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
358358-[36m└[39m
354354+ "<dim>│</fg>
355355+<cyan>◆</fg> foo
356356+<cyan>│</fg> <bg:cyan><dim> A </fg></bg> Option A
357357+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
358358+<cyan>└</fg>
359359",
360360 "<cursor.backward count=999><cursor.up count=5>",
361361 "<cursor.down count=1>",
362362 "<erase.down>",
363363- "[31m■[39m foo
364364-[90m│[39m [9m[2mOption A[22m[29m
365365-[90m│[39m",
363363+ "<red>■</fg> foo
364364+<dim>│</fg> [9m<dim>Option A</bold>[29m
365365+<dim>│</fg>",
366366 "
367367",
368368 "<cursor.show>",
···372372exports[`text (isCI = true) > global withGuide: false removes guide 1`] = `
373373[
374374 "<cursor.hide>",
375375- "[36m◆[39m foo
376376-[46m[90m a [39m[49m Option A
377377-[90m[47m[7m b [27m[49m[39m Option B
375375+ "<cyan>◆</fg> foo
376376+<bg:cyan><dim> a </fg></bg> Option A
377377+<dim><bg:white>[7m b [27m</bg></fg> Option B
378378379379",
380380 "<cursor.show>",
381381 "<cursor.backward count=999><cursor.up count=4>",
382382 "<erase.down>",
383383- "[32m◇[39m foo
384384-[2mOption A[22m",
383383+ "<green>◇</fg> foo
384384+<dim>Option A</bold>",
385385 "
386386",
387387]
···390390exports[`text (isCI = true) > input is case-insensitive by default 1`] = `
391391[
392392 "<cursor.hide>",
393393- "[90m│[39m
394394-[36m◆[39m foo
395395-[36m│[39m [46m[90m a [39m[49m Option A
396396-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
397397-[36m└[39m
393393+ "<dim>│</fg>
394394+<cyan>◆</fg> foo
395395+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option A
396396+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
397397+<cyan>└</fg>
398398",
399399 "<cursor.show>",
400400 "<cursor.backward count=999><cursor.up count=5>",
401401 "<cursor.down count=1>",
402402 "<erase.down>",
403403- "[32m◇[39m foo
404404-[90m│[39m [2mOption A[22m",
403403+ "<green>◇</fg> foo
404404+<dim>│</fg> <dim>Option A</bold>",
405405 "
406406",
407407]
···410410exports[`text (isCI = true) > long cancelled labels are wrapped correctly 1`] = `
411411[
412412 "<cursor.hide>",
413413- "[90m│[39m
414414-[36m◆[39m Select an option:
415415-[36m│[39m [46m[90m a [39m[49m This is a somewhat long
416416-[36m│[39m label This is a somewhat
417417-[36m│[39m long label This is a
418418-[36m│[39m somewhat long label This is
419419-[36m│[39m a somewhat long label This
420420-[36m│[39m is a somewhat long label
421421-[36m│[39m This is a somewhat long
422422-[36m│[39m label This is a somewhat
423423-[36m│[39m long label This is a
424424-[36m│[39m somewhat long label This is
425425-[36m│[39m a somewhat long label This
426426-[36m│[39m is a somewhat long label
427427-[36m│[39m [90m[47m[7m b [27m[49m[39m Short label
428428-[36m└[39m
413413+ "<dim>│</fg>
414414+<cyan>◆</fg> Select an option:
415415+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> This is a somewhat long
416416+<cyan>│</fg> label This is a somewhat
417417+<cyan>│</fg> long label This is a
418418+<cyan>│</fg> somewhat long label This is
419419+<cyan>│</fg> a somewhat long label This
420420+<cyan>│</fg> is a somewhat long label
421421+<cyan>│</fg> This is a somewhat long
422422+<cyan>│</fg> label This is a somewhat
423423+<cyan>│</fg> long label This is a
424424+<cyan>│</fg> somewhat long label This is
425425+<cyan>│</fg> a somewhat long label This
426426+<cyan>│</fg> is a somewhat long label
427427+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Short label
428428+<cyan>└</fg>
429429",
430430 "<cursor.backward count=999><cursor.up count=16>",
431431 "<cursor.down count=1>",
432432 "<erase.down>",
433433- "[31m■[39m Select an option:
434434-[90m│[39m [9m[2mThis is a somewhat long [22m
435435-[90m│[39m [2mlabel This is a somewhat [22m
436436-[90m│[39m [2mlong label This is a [22m
437437-[90m│[39m [2msomewhat long label This is[22m
438438-[90m│[39m [2m a somewhat long label This[22m
439439-[90m│[39m [2m is a somewhat long label [22m
440440-[90m│[39m [2mThis is a somewhat long [22m
441441-[90m│[39m [2mlabel This is a somewhat [22m
442442-[90m│[39m [2mlong label This is a [22m
443443-[90m│[39m [2msomewhat long label This is[22m
444444-[90m│[39m [2m a somewhat long label This[22m
445445-[90m│[39m [2m is a somewhat long label[22m[29m
446446-[90m│[39m",
433433+ "<red>■</fg> Select an option:
434434+<dim>│</fg> [9m<dim>This is a somewhat long </bold>
435435+<dim>│</fg> <dim>label This is a somewhat </bold>
436436+<dim>│</fg> <dim>long label This is a </bold>
437437+<dim>│</fg> <dim>somewhat long label This is</bold>
438438+<dim>│</fg> <dim> a somewhat long label This</bold>
439439+<dim>│</fg> <dim> is a somewhat long label </bold>
440440+<dim>│</fg> <dim>This is a somewhat long </bold>
441441+<dim>│</fg> <dim>label This is a somewhat </bold>
442442+<dim>│</fg> <dim>long label This is a </bold>
443443+<dim>│</fg> <dim>somewhat long label This is</bold>
444444+<dim>│</fg> <dim> a somewhat long label This</bold>
445445+<dim>│</fg> <dim> is a somewhat long label</bold>[29m
446446+<dim>│</fg>",
447447 "
448448",
449449 "<cursor.show>",
···453453exports[`text (isCI = true) > long option labels are wrapped correctly 1`] = `
454454[
455455 "<cursor.hide>",
456456- "[90m│[39m
457457-[36m◆[39m Select an option:
458458-[36m│[39m [46m[90m a [39m[49m This is a somewhat long
459459-[36m│[39m label This is a somewhat
460460-[36m│[39m long label This is a
461461-[36m│[39m somewhat long label This is
462462-[36m│[39m a somewhat long label This
463463-[36m│[39m is a somewhat long label
464464-[36m│[39m This is a somewhat long
465465-[36m│[39m label This is a somewhat
466466-[36m│[39m long label This is a
467467-[36m│[39m somewhat long label This is
468468-[36m│[39m a somewhat long label This
469469-[36m│[39m is a somewhat long label
470470-[36m│[39m [90m[47m[7m b [27m[49m[39m Short label
471471-[36m└[39m
456456+ "<dim>│</fg>
457457+<cyan>◆</fg> Select an option:
458458+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> This is a somewhat long
459459+<cyan>│</fg> label This is a somewhat
460460+<cyan>│</fg> long label This is a
461461+<cyan>│</fg> somewhat long label This is
462462+<cyan>│</fg> a somewhat long label This
463463+<cyan>│</fg> is a somewhat long label
464464+<cyan>│</fg> This is a somewhat long
465465+<cyan>│</fg> label This is a somewhat
466466+<cyan>│</fg> long label This is a
467467+<cyan>│</fg> somewhat long label This is
468468+<cyan>│</fg> a somewhat long label This
469469+<cyan>│</fg> is a somewhat long label
470470+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Short label
471471+<cyan>└</fg>
472472",
473473 "<cursor.show>",
474474 "<cursor.backward count=999><cursor.up count=16>",
475475 "<cursor.down count=1>",
476476 "<erase.down>",
477477- "[32m◇[39m Select an option:
478478-[90m│[39m [2mThis is a somewhat long [22m
479479-[90m│[39m [2mlabel This is a somewhat [22m
480480-[90m│[39m [2mlong label This is a [22m
481481-[90m│[39m [2msomewhat long label This is[22m
482482-[90m│[39m [2m a somewhat long label This[22m
483483-[90m│[39m [2m is a somewhat long label [22m
484484-[90m│[39m [2mThis is a somewhat long [22m
485485-[90m│[39m [2mlabel This is a somewhat [22m
486486-[90m│[39m [2mlong label This is a [22m
487487-[90m│[39m [2msomewhat long label This is[22m
488488-[90m│[39m [2m a somewhat long label This[22m
489489-[90m│[39m [2m is a somewhat long label[22m",
477477+ "<green>◇</fg> Select an option:
478478+<dim>│</fg> <dim>This is a somewhat long </bold>
479479+<dim>│</fg> <dim>label This is a somewhat </bold>
480480+<dim>│</fg> <dim>long label This is a </bold>
481481+<dim>│</fg> <dim>somewhat long label This is</bold>
482482+<dim>│</fg> <dim> a somewhat long label This</bold>
483483+<dim>│</fg> <dim> is a somewhat long label </bold>
484484+<dim>│</fg> <dim>This is a somewhat long </bold>
485485+<dim>│</fg> <dim>label This is a somewhat </bold>
486486+<dim>│</fg> <dim>long label This is a </bold>
487487+<dim>│</fg> <dim>somewhat long label This is</bold>
488488+<dim>│</fg> <dim> a somewhat long label This</bold>
489489+<dim>│</fg> <dim> is a somewhat long label</bold>",
490490 "
491491",
492492]
···495495exports[`text (isCI = true) > long submitted labels are wrapped correctly 1`] = `
496496[
497497 "<cursor.hide>",
498498- "[90m│[39m
499499-[36m◆[39m Select an option:
500500-[36m│[39m [46m[90m a [39m[49m This is a somewhat long
501501-[36m│[39m label This is a somewhat
502502-[36m│[39m long label This is a
503503-[36m│[39m somewhat long label This is
504504-[36m│[39m a somewhat long label This
505505-[36m│[39m is a somewhat long label
506506-[36m│[39m This is a somewhat long
507507-[36m│[39m label This is a somewhat
508508-[36m│[39m long label This is a
509509-[36m│[39m somewhat long label This is
510510-[36m│[39m a somewhat long label This
511511-[36m│[39m is a somewhat long label
512512-[36m│[39m [90m[47m[7m b [27m[49m[39m Short label
513513-[36m└[39m
498498+ "<dim>│</fg>
499499+<cyan>◆</fg> Select an option:
500500+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> This is a somewhat long
501501+<cyan>│</fg> label This is a somewhat
502502+<cyan>│</fg> long label This is a
503503+<cyan>│</fg> somewhat long label This is
504504+<cyan>│</fg> a somewhat long label This
505505+<cyan>│</fg> is a somewhat long label
506506+<cyan>│</fg> This is a somewhat long
507507+<cyan>│</fg> label This is a somewhat
508508+<cyan>│</fg> long label This is a
509509+<cyan>│</fg> somewhat long label This is
510510+<cyan>│</fg> a somewhat long label This
511511+<cyan>│</fg> is a somewhat long label
512512+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Short label
513513+<cyan>└</fg>
514514",
515515 "<cursor.show>",
516516 "<cursor.backward count=999><cursor.up count=16>",
517517 "<cursor.down count=1>",
518518 "<erase.down>",
519519- "[32m◇[39m Select an option:
520520-[90m│[39m [2mThis is a somewhat long [22m
521521-[90m│[39m [2mlabel This is a somewhat [22m
522522-[90m│[39m [2mlong label This is a [22m
523523-[90m│[39m [2msomewhat long label This is[22m
524524-[90m│[39m [2m a somewhat long label This[22m
525525-[90m│[39m [2m is a somewhat long label [22m
526526-[90m│[39m [2mThis is a somewhat long [22m
527527-[90m│[39m [2mlabel This is a somewhat [22m
528528-[90m│[39m [2mlong label This is a [22m
529529-[90m│[39m [2msomewhat long label This is[22m
530530-[90m│[39m [2m a somewhat long label This[22m
531531-[90m│[39m [2m is a somewhat long label[22m",
519519+ "<green>◇</fg> Select an option:
520520+<dim>│</fg> <dim>This is a somewhat long </bold>
521521+<dim>│</fg> <dim>label This is a somewhat </bold>
522522+<dim>│</fg> <dim>long label This is a </bold>
523523+<dim>│</fg> <dim>somewhat long label This is</bold>
524524+<dim>│</fg> <dim> a somewhat long label This</bold>
525525+<dim>│</fg> <dim> is a somewhat long label </bold>
526526+<dim>│</fg> <dim>This is a somewhat long </bold>
527527+<dim>│</fg> <dim>label This is a somewhat </bold>
528528+<dim>│</fg> <dim>long label This is a </bold>
529529+<dim>│</fg> <dim>somewhat long label This is</bold>
530530+<dim>│</fg> <dim> a somewhat long label This</bold>
531531+<dim>│</fg> <dim> is a somewhat long label</bold>",
532532 "
533533",
534534]
···537537exports[`text (isCI = true) > options are case-insensitive by default 1`] = `
538538[
539539 "<cursor.hide>",
540540- "[90m│[39m
541541-[36m◆[39m foo
542542-[36m│[39m [46m[90m A [39m[49m Option A
543543-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
544544-[36m└[39m
540540+ "<dim>│</fg>
541541+<cyan>◆</fg> foo
542542+<cyan>│</fg> <bg:cyan><dim> A </fg></bg> Option A
543543+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
544544+<cyan>└</fg>
545545",
546546 "<cursor.show>",
547547 "<cursor.backward count=999><cursor.up count=5>",
548548 "<cursor.down count=1>",
549549 "<erase.down>",
550550- "[32m◇[39m foo
551551-[90m│[39m [2mOption A[22m",
550550+ "<green>◇</fg> foo
551551+<dim>│</fg> <dim>Option A</bold>",
552552 "
553553",
554554]
···557557exports[`text (isCI = true) > renders message with options 1`] = `
558558[
559559 "<cursor.hide>",
560560- "[90m│[39m
561561-[36m◆[39m foo
562562-[36m│[39m [46m[90m a [39m[49m Option A
563563-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
564564-[36m└[39m
560560+ "<dim>│</fg>
561561+<cyan>◆</fg> foo
562562+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option A
563563+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
564564+<cyan>└</fg>
565565",
566566 "<cursor.backward count=999><cursor.up count=5>",
567567 "<cursor.down count=1>",
568568 "<erase.down>",
569569- "[32m◇[39m foo
570570-[90m│[39m [2mOption A[22m",
569569+ "<green>◇</fg> foo
570570+<dim>│</fg> <dim>Option A</bold>",
571571 "
572572",
573573 "<cursor.show>",
···577577exports[`text (isCI = true) > selects option by keypress 1`] = `
578578[
579579 "<cursor.hide>",
580580- "[90m│[39m
581581-[36m◆[39m foo
582582-[36m│[39m [46m[90m a [39m[49m Option A
583583-[36m│[39m [90m[47m[7m b [27m[49m[39m Option B
584584-[36m└[39m
580580+ "<dim>│</fg>
581581+<cyan>◆</fg> foo
582582+<cyan>│</fg> <bg:cyan><dim> a </fg></bg> Option A
583583+<cyan>│</fg> <dim><bg:white>[7m b [27m</bg></fg> Option B
584584+<cyan>└</fg>
585585",
586586 "<cursor.show>",
587587 "<cursor.backward count=999><cursor.up count=5>",
588588 "<cursor.down count=1>",
589589 "<erase.down>",
590590- "[32m◇[39m foo
591591-[90m│[39m [2mOption B[22m",
590590+ "<green>◇</fg> foo
591591+<dim>│</fg> <dim>Option B</bold>",
592592 "
593593",
594594]
···597597exports[`text (isCI = true) > withGuide: false removes guide 1`] = `
598598[
599599 "<cursor.hide>",
600600- "[36m◆[39m foo
601601-[46m[90m a [39m[49m Option A
602602-[90m[47m[7m b [27m[49m[39m Option B
600600+ "<cyan>◆</fg> foo
601601+<bg:cyan><dim> a </fg></bg> Option A
602602+<dim><bg:white>[7m b [27m</bg></fg> Option B
603603604604",
605605 "<cursor.show>",
606606 "<cursor.backward count=999><cursor.up count=4>",
607607 "<erase.down>",
608608- "[32m◇[39m foo
609609-[2mOption A[22m",
608608+ "<green>◇</fg> foo
609609+<dim>Option A</bold>",
610610 "
611611",
612612]