Add support for fake input in asciicast recordings

* Fixes a bug with `SelectionPrompt` and page size.
* Allow `IAnsiConsoleInput` to return `null`.
This commit is contained in:
Patrik Svensson
2021-05-24 02:36:14 +02:00
committed by Phil Scott
parent 46abadaccb
commit 450d87f5d3
56 changed files with 1314 additions and 1166 deletions

View File

@ -1,27 +1,27 @@
{"version": 2, "width": 84, "height": 14, "title": "multi-selection (plain)", "env": {"TERM": "Spectre.Console"}}
[0, "o", "\u001B[?25lWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n\u001B[34m\u003E [ ] Berries\u001B[0m \r\n [ ] Blackcurrant \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[0, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n\u001B[34m\u003E [ ] Berries\u001B[0m \r\n [ ] Blackcurrant \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[0.485, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n\u001B[34m \u003E [ ] Blackcurrant\u001B[0m \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[0.672, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [ ] Blackcurrant \r\n\u001B[34m \u003E [ ] Blueberry\u001B[0m \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[0.906, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [ ] Blackcurrant \r\n\u001B[34m \u003E [X] Blueberry\u001B[0m \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[1.906, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n\u001B[34m \u003E [ ] Blackcurrant\u001B[0m \r\n [\u001B[34mX\u001B[0m] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[2.094, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n\u001B[34m\u003E [ ] Berries\u001B[0m \r\n [ ] Blackcurrant \r\n [\u001B[34mX\u001B[0m] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[2.281, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n\u001B[34m\u003E [\u001B[0m\u001B[37mX\u001B[0m\u001B[34m] Berries\u001B[0m \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n [\u001B[34mX\u001B[0m] Blueberry \r\n [\u001B[34mX\u001B[0m] Cloudberry \r\n [\u001B[34mX\u001B[0m] Elderberry \r\n [\u001B[34mX\u001B[0m] Honeyberry \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[3.266, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n\u001B[34m\u003E [ ] Berries\u001B[0m \r\n [ ] Blackcurrant \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[4.281, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n\u001B[34m \u003E [ ] Blackcurrant\u001B[0m \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[4.547, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n\u001B[34m \u003E [X] Blackcurrant\u001B[0m \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[4.75, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n\u001B[34m \u003E [ ] Blueberry\u001B[0m \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[4.969, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n [ ] Blueberry \r\n\u001B[34m \u003E [ ] Cloudberry\u001B[0m \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[5.188, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n\u001B[34m \u003E [ ] Elderberry\u001B[0m \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[5.438, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n\u001B[34m \u003E [ ] Honeyberry\u001B[0m \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[5.625, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n\u001B[34m \u003E [ ] Mulberry\u001B[0m \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n [ ] Banana \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[5.86, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n\u001B[34m \u003E [X] Mulberry\u001B[0m \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n [ ] Banana \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[6.11, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n\u001B[34m\u003E [ ] Apple\u001B[0m \r\n [ ] Apricot \r\n [ ] Avocado \r\n [ ] Banana \r\n [ ] Cherry \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[6.297, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n\u001B[34m\u003E [ ] Apricot\u001B[0m \r\n [ ] Avocado \r\n [ ] Banana \r\n [ ] Cherry \r\n [ ] Cocunut \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[6.531, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Honeyberry \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n\u001B[34m\u003E [ ] Avocado\u001B[0m \r\n [ ] Banana \r\n [ ] Cherry \r\n [ ] Cocunut \r\n [ ] Date \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[6.75, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n\u001B[34m\u003E [ ] Banana\u001B[0m \r\n [ ] Cherry \r\n [ ] Cocunut \r\n [ ] Date \r\n [ ] Dragonfruit \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[6.953, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n\u001B[34m\u003E [X] Banana\u001B[0m \r\n [ ] Cherry \r\n [ ] Cocunut \r\n [ ] Date \r\n [ ] Dragonfruit \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[8.016, "o", "\r\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K"]
[8.016, "o", "\u001B[?25h"]
[8.016, "o", "Your selected: \u001B[37mBlackcurrant,Mulberry,Banana\u001B[0m\r\n"]
[0.25, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n\u001B[34m \u003E [ ] Blackcurrant\u001B[0m \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[0.422, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [ ] Blackcurrant \r\n\u001B[34m \u003E [ ] Blueberry\u001B[0m \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[0.641, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [ ] Blackcurrant \r\n\u001B[34m \u003E [X] Blueberry\u001B[0m \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[1.266, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n\u001B[34m \u003E [ ] Blackcurrant\u001B[0m \r\n [\u001B[34mX\u001B[0m] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[1.485, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n\u001B[34m\u003E [ ] Berries\u001B[0m \r\n [ ] Blackcurrant \r\n [\u001B[34mX\u001B[0m] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[1.703, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n\u001B[34m\u003E [\u001B[0m\u001B[37mX\u001B[0m\u001B[34m] Berries\u001B[0m \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n [\u001B[34mX\u001B[0m] Blueberry \r\n [\u001B[34mX\u001B[0m] Cloudberry \r\n [\u001B[34mX\u001B[0m] Elderberry \r\n [\u001B[34mX\u001B[0m] Honeyberry \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[2.375, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n\u001B[34m\u003E [ ] Berries\u001B[0m \r\n [ ] Blackcurrant \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[3.016, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n\u001B[34m \u003E [ ] Blackcurrant\u001B[0m \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[3.235, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n\u001B[34m \u003E [X] Blackcurrant\u001B[0m \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[3.422, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n\u001B[34m \u003E [ ] Blueberry\u001B[0m \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[3.594, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n [ ] Blueberry \r\n\u001B[34m \u003E [ ] Cloudberry\u001B[0m \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[3.782, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Berries \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n\u001B[34m \u003E [ ] Elderberry\u001B[0m \r\n [ ] Honeyberry \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[3.953, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [\u001B[34mX\u001B[0m] Blackcurrant \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n\u001B[34m \u003E [ ] Honeyberry\u001B[0m \r\n [ ] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[4.125, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n\u001B[34m \u003E [ ] Mulberry\u001B[0m \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n [ ] Banana \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[4.375, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Blueberry \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n\u001B[34m \u003E [X] Mulberry\u001B[0m \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n [ ] Banana \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[4.594, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Cloudberry \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n\u001B[34m\u003E [ ] Apple\u001B[0m \r\n [ ] Apricot \r\n [ ] Avocado \r\n [ ] Banana \r\n [ ] Cherry \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[4.797, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Elderberry \r\n [ ] Honeyberry \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n\u001B[34m\u003E [ ] Apricot\u001B[0m \r\n [ ] Avocado \r\n [ ] Banana \r\n [ ] Cherry \r\n [ ] Cocunut \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[5, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [ ] Honeyberry \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n\u001B[34m\u003E [ ] Avocado\u001B[0m \r\n [ ] Banana \r\n [ ] Cherry \r\n [ ] Cocunut \r\n [ ] Date \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[5.188, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n\u001B[34m\u003E [ ] Banana\u001B[0m \r\n [ ] Cherry \r\n [ ] Cocunut \r\n [ ] Date \r\n [ ] Dragonfruit \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[5.375, "o", "\r\u001B[13AWhat are your \u001B[32mfavorite fruits\u001B[0m? \r\n \r\n [\u001B[34mX\u001B[0m] Mulberry \r\n [ ] Apple \r\n [ ] Apricot \r\n [ ] Avocado \r\n\u001B[34m\u003E [X] Banana\u001B[0m \r\n [ ] Cherry \r\n [ ] Cocunut \r\n [ ] Date \r\n [ ] Dragonfruit \r\n \r\n\u001B[37m(Move up and down to reveal more fruits)\u001B[0m \r\n\u001B[37m(Press \u001B[0m\u001B[34m\u003Cspace\u003E\u001B[0m\u001B[37m to toggle a fruit, \u001B[0m\u001B[32m\u003Center\u003E\u001B[0m\u001B[37m to accept)\u001B[0m"]
[5.953, "o", "\r\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K\u001B[1A\u001B[2K"]
[5.953, "o", "\u001B[?25h"]
[5.953, "o", "Your selected: \u001B[37mBlackcurrant,Mulberry,Banana\u001B[0m\r\n"]