Commit graph

12 commits

Author SHA1 Message Date
Carson McManus
4ba0459bb6
fix prompts sometimes not showing up (again) (#187)
- fix tui::pause only accept enter  to continue so it's less confusing
- replace unwrap with flush
- replace some prints with eprints
- make tui::prompt flush stdout and stderr

fixes #178
2023-03-18 14:20:37 +00:00
Carson McManus
7f0d5ca8ab write input prompts to stderr instead of stdout
closes #166
2022-09-08 16:24:23 -04:00
Carson McManus
0d90792c47 add check in prompt_confirmation_menu to make sure confirmations is not empty 2022-08-04 23:07:43 -04:00
Carson McManus
a9e5d4b1c5 fix up unit tests 2022-06-25 11:07:57 -04:00
Carson McManus
5a262650a0 converted remaining tui module to crossterm 2022-06-25 10:57:37 -04:00
Carson McManus
ebe31b6df7 convert prompt_confirmation_menu to crossterm 2022-06-25 10:14:34 -04:00
Carson McManus
afb1d79aea adjust visibility of some functions/modules 2022-06-25 09:06:29 -04:00
Carson McManus
4ac3c09338 fix small logic bug in prompt_char 2021-09-06 16:56:22 -04:00
Carson McManus
6d2b10022e flush output before waiting for input in prompt_char_impl, fixes #103 2021-08-29 20:36:51 -04:00
Carson McManus
2fa4be52d9 parse descriptions for confirmations 2021-08-14 12:16:40 -04:00
Carson McManus
ca86b44640 add prompt_char helper function 2021-08-14 11:10:21 -04:00
Carson McManus
f38f9b6e52 move input prompting code into tui module 2021-08-14 10:01:25 -04:00