···11+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22+33+exports[`note (isCI = false) > don't overflow 1`] = `
44+[
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+`;
3737+3838+exports[`note (isCI = false) > don't overflow with formatter 1`] = `
3939+[
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+`;
7676+7777+exports[`note (isCI = false) > formatter which adds colors works 1`] = `
7878+[
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+`;
9090+9191+exports[`note (isCI = false) > formatter which adds length works 1`] = `
9292+[
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+`;
104104+105105+exports[`note (isCI = false) > handle wide characters 1`] = `
106106+[
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+`;
125125+126126+exports[`note (isCI = false) > handle wide characters with formatter 1`] = `
127127+[
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+`;
158158+159159+exports[`note (isCI = false) > renders as wide as longest line 1`] = `
160160+[
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+`;
171171+172172+exports[`note (isCI = false) > renders message with title 1`] = `
173173+[
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+`;
183183+184184+exports[`note (isCI = false) > without guide 1`] = `
185185+[
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+`;
194194+195195+exports[`note (isCI = true) > don't overflow 1`] = `
196196+[
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+`;
229229+230230+exports[`note (isCI = true) > don't overflow with formatter 1`] = `
231231+[
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+`;
268268+269269+exports[`note (isCI = true) > formatter which adds colors works 1`] = `
270270+[
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+`;
282282+283283+exports[`note (isCI = true) > formatter which adds length works 1`] = `
284284+[
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+`;
296296+297297+exports[`note (isCI = true) > handle wide characters 1`] = `
298298+[
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+`;
317317+318318+exports[`note (isCI = true) > handle wide characters with formatter 1`] = `
319319+[
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+`;
350350+351351+exports[`note (isCI = true) > renders as wide as longest line 1`] = `
352352+[
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+`;
363363+364364+exports[`note (isCI = true) > renders message with title 1`] = `
365365+[
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+`;
375375+376376+exports[`note (isCI = true) > without guide 1`] = `
377377+[
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+`;
···11+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22+33+exports[`text (isCI = false) > can cancel by pressing escape 1`] = `
44+[
55+ "<cursor.hide>",
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+ "<red>■</fg> foo
1616+<dim>│</fg> [9m<dim>Option A</bold>[29m
1717+<dim>│</fg>",
1818+ "
1919+",
2020+ "<cursor.show>",
2121+]
2222+`;
2323+2424+exports[`text (isCI = false) > caseSensitive: true makes input case-sensitive 1`] = `
2525+[
2626+ "<cursor.hide>",
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+ "<green>◇</fg> foo
3939+<dim>│</fg> <dim>Option A</bold>",
4040+ "
4141+",
4242+]
4343+`;
4444+4545+exports[`text (isCI = false) > caseSensitive: true makes options case-sensitive 1`] = `
4646+[
4747+ "<cursor.hide>",
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+ "<red>■</fg> foo
5858+<dim>│</fg> [9m<dim>Option A</bold>[29m
5959+<dim>│</fg>",
6060+ "
6161+",
6262+ "<cursor.show>",
6363+]
6464+`;
6565+6666+exports[`text (isCI = false) > global withGuide: false removes guide 1`] = `
6767+[
6868+ "<cursor.hide>",
6969+ "<cyan>◆</fg> foo
7070+<bg:cyan><dim> a </fg></bg> Option A
7171+<dim><bg:white>[7m b [27m</bg></fg> Option B
7272+7373+",
7474+ "<cursor.show>",
7575+ "<cursor.backward count=999><cursor.up count=4>",
7676+ "<erase.down>",
7777+ "<green>◇</fg> foo
7878+<dim>Option A</bold>",
7979+ "
8080+",
8181+]
8282+`;
8383+8484+exports[`text (isCI = false) > input is case-insensitive by default 1`] = `
8585+[
8686+ "<cursor.hide>",
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+ "<green>◇</fg> foo
9898+<dim>│</fg> <dim>Option A</bold>",
9999+ "
100100+",
101101+]
102102+`;
103103+104104+exports[`text (isCI = false) > long cancelled labels are wrapped correctly 1`] = `
105105+[
106106+ "<cursor.hide>",
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+ "<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>",
144144+]
145145+`;
146146+147147+exports[`text (isCI = false) > long option labels are wrapped correctly 1`] = `
148148+[
149149+ "<cursor.hide>",
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+ "<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+]
187187+`;
188188+189189+exports[`text (isCI = false) > long submitted labels are wrapped correctly 1`] = `
190190+[
191191+ "<cursor.hide>",
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+ "<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+]
229229+`;
230230+231231+exports[`text (isCI = false) > options are case-insensitive by default 1`] = `
232232+[
233233+ "<cursor.hide>",
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+ "<green>◇</fg> foo
245245+<dim>│</fg> <dim>Option A</bold>",
246246+ "
247247+",
248248+]
249249+`;
250250+251251+exports[`text (isCI = false) > renders message with options 1`] = `
252252+[
253253+ "<cursor.hide>",
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+ "<green>◇</fg> foo
264264+<dim>│</fg> <dim>Option A</bold>",
265265+ "
266266+",
267267+ "<cursor.show>",
268268+]
269269+`;
270270+271271+exports[`text (isCI = false) > selects option by keypress 1`] = `
272272+[
273273+ "<cursor.hide>",
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+ "<green>◇</fg> foo
285285+<dim>│</fg> <dim>Option B</bold>",
286286+ "
287287+",
288288+]
289289+`;
290290+291291+exports[`text (isCI = false) > withGuide: false removes guide 1`] = `
292292+[
293293+ "<cursor.hide>",
294294+ "<cyan>◆</fg> foo
295295+<bg:cyan><dim> a </fg></bg> Option A
296296+<dim><bg:white>[7m b [27m</bg></fg> Option B
297297+298298+",
299299+ "<cursor.show>",
300300+ "<cursor.backward count=999><cursor.up count=4>",
301301+ "<erase.down>",
302302+ "<green>◇</fg> foo
303303+<dim>Option A</bold>",
304304+ "
305305+",
306306+]
307307+`;
308308+309309+exports[`text (isCI = true) > can cancel by pressing escape 1`] = `
310310+[
311311+ "<cursor.hide>",
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+ "<red>■</fg> foo
322322+<dim>│</fg> [9m<dim>Option A</bold>[29m
323323+<dim>│</fg>",
324324+ "
325325+",
326326+ "<cursor.show>",
327327+]
328328+`;
329329+330330+exports[`text (isCI = true) > caseSensitive: true makes input case-sensitive 1`] = `
331331+[
332332+ "<cursor.hide>",
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+ "<green>◇</fg> foo
345345+<dim>│</fg> <dim>Option A</bold>",
346346+ "
347347+",
348348+]
349349+`;
350350+351351+exports[`text (isCI = true) > caseSensitive: true makes options case-sensitive 1`] = `
352352+[
353353+ "<cursor.hide>",
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+ "<red>■</fg> foo
364364+<dim>│</fg> [9m<dim>Option A</bold>[29m
365365+<dim>│</fg>",
366366+ "
367367+",
368368+ "<cursor.show>",
369369+]
370370+`;
371371+372372+exports[`text (isCI = true) > global withGuide: false removes guide 1`] = `
373373+[
374374+ "<cursor.hide>",
375375+ "<cyan>◆</fg> foo
376376+<bg:cyan><dim> a </fg></bg> Option A
377377+<dim><bg:white>[7m b [27m</bg></fg> Option B
378378+379379+",
380380+ "<cursor.show>",
381381+ "<cursor.backward count=999><cursor.up count=4>",
382382+ "<erase.down>",
383383+ "<green>◇</fg> foo
384384+<dim>Option A</bold>",
385385+ "
386386+",
387387+]
388388+`;
389389+390390+exports[`text (isCI = true) > input is case-insensitive by default 1`] = `
391391+[
392392+ "<cursor.hide>",
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+ "<green>◇</fg> foo
404404+<dim>│</fg> <dim>Option A</bold>",
405405+ "
406406+",
407407+]
408408+`;
409409+410410+exports[`text (isCI = true) > long cancelled labels are wrapped correctly 1`] = `
411411+[
412412+ "<cursor.hide>",
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+ "<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>",
450450+]
451451+`;
452452+453453+exports[`text (isCI = true) > long option labels are wrapped correctly 1`] = `
454454+[
455455+ "<cursor.hide>",
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+ "<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+]
493493+`;
494494+495495+exports[`text (isCI = true) > long submitted labels are wrapped correctly 1`] = `
496496+[
497497+ "<cursor.hide>",
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+ "<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+]
535535+`;
536536+537537+exports[`text (isCI = true) > options are case-insensitive by default 1`] = `
538538+[
539539+ "<cursor.hide>",
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+ "<green>◇</fg> foo
551551+<dim>│</fg> <dim>Option A</bold>",
552552+ "
553553+",
554554+]
555555+`;
556556+557557+exports[`text (isCI = true) > renders message with options 1`] = `
558558+[
559559+ "<cursor.hide>",
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+ "<green>◇</fg> foo
570570+<dim>│</fg> <dim>Option A</bold>",
571571+ "
572572+",
573573+ "<cursor.show>",
574574+]
575575+`;
576576+577577+exports[`text (isCI = true) > selects option by keypress 1`] = `
578578+[
579579+ "<cursor.hide>",
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+ "<green>◇</fg> foo
591591+<dim>│</fg> <dim>Option B</bold>",
592592+ "
593593+",
594594+]
595595+`;
596596+597597+exports[`text (isCI = true) > withGuide: false removes guide 1`] = `
598598+[
599599+ "<cursor.hide>",
600600+ "<cyan>◆</fg> foo
601601+<bg:cyan><dim> a </fg></bg> Option A
602602+<dim><bg:white>[7m b [27m</bg></fg> Option B
603603+604604+",
605605+ "<cursor.show>",
606606+ "<cursor.backward count=999><cursor.up count=4>",
607607+ "<erase.down>",
608608+ "<green>◇</fg> foo
609609+<dim>Option A</bold>",
610610+ "
611611+",
612612+]
613613+`;