Commit graph

54 commits

Author SHA1 Message Date
Nahor c52867eb8b Add command to check all the exercises
This allows for skipping repeating "next" when multiple exercises
are done at once, or when earlier exercises have been updated/changed
(and thus must be redone) while still working of the whole set (i.e.
the final check_all is not yet available to flag those undone exercises)
2024-10-02 13:40:32 -07:00
mo8it 0c79f2ea3e Reset in prompt with confirmation 2024-09-26 18:15:45 +02:00
mo8it 554301b8e9 Clear terminal before final check in watch mode 2024-09-24 16:12:44 +02:00
mo8it 4e4b65711a Only handle file changes for the current exercise, no jumping back 2024-09-18 01:44:13 +02:00
mo8it 89c40ba256 Optimize the file watcher 2024-09-18 01:43:48 +02:00
mo8it 3947c4de28 Pause input while running an exercise 2024-09-12 17:46:06 +02:00
mo8it 9faa5d3aa4 Avoid asking for terminal size on each rendering 2024-09-05 17:45:27 +02:00
mo8it dcad002057 Only render when needed 2024-09-05 17:32:59 +02:00
mo8it 247bd19f93 Canonicalize exercise paths only once 2024-09-04 02:19:45 +02:00
mo8it 833e6e0c92 Newline after resetting attributes 2024-08-26 00:24:39 +02:00
mo8it 159273e532 Take stdout as argument in watch mode 2024-08-26 00:09:04 +02:00
mo8it b1898f6d8b Use queue instead of Stylize 2024-08-25 23:53:50 +02:00
mo8it b779c43126 Almost done with list display 2024-08-24 17:17:56 +02:00
mo8it 570bc9f32d Start list without Ratatui 2024-08-24 00:14:12 +02:00
mo8it a2d1cb3b22 Push newline after running an exercise instead on each rendering 2024-08-20 16:05:52 +02:00
mo8it e7ba88f905 Highlight the solution file 2024-08-20 16:04:29 +02:00
mo8it 4ce8667b9d Show the exercise name in the waiting message 2024-08-08 22:48:53 +02:00
mo8it 0785b24192 Show a message before running the exercise 2024-08-08 22:41:41 +02:00
mo8it c7590dd752 Improve the runner 2024-08-01 15:23:54 +02:00
mo8it 74fab994e2 Make the output optional 2024-07-28 20:30:23 +02:00
mo8it 1937b4bf66 Use the rexported crossterm from ratatui 2024-07-25 16:26:48 +02:00
mo8it 67ce9b9e56 Underline "next" 2024-07-02 01:50:05 +02:00
mo8it 611f9d8722 Check that all solutions run successfully 2024-06-01 21:48:15 +02:00
mo8it c8481d35c1 Done documentation 2024-05-14 01:49:22 +02:00
mo8it 96a44f3dcf Make it more clear that only one char is expected 2024-05-14 01:23:58 +02:00
mo8it 4ae3fcc3ca Don't skip exercises on file changes 2024-05-13 17:06:11 +02:00
mo8it 8b2d9ed503 Use PartialEq instead of matches! 2024-05-13 02:45:12 +02:00
mo8it d2b5906be2 No more word input 2024-05-13 02:37:32 +02:00
mo8it f9e35a4344 Improve input handling 2024-05-13 02:32:25 +02:00
mo8it 0525739046 Fix invisible input on Windows 2024-05-13 02:20:04 +02:00
mo8it 52c0f5b39e Fix clearing the terminal 2024-04-30 01:41:08 +02:00
mo8it ea40804371 Put long version in () 2024-04-27 23:38:26 +02:00
mo8it c82c367324 Respect the target-dir config and show tests' output 2024-04-27 04:14:59 +02:00
mo8it f92d45fa68 Use write macros instead of write_fmt 2024-04-25 02:03:26 +02:00
mo8it 67fa017742 Use os_pipe 2024-04-25 01:56:01 +02:00
mo8it 8a085a0a85 Dump solution and show its path 2024-04-24 02:52:30 +02:00
mo8it 1cbabc3d28 Add the manual-run option 2024-04-14 17:10:53 +02:00
mo8it bee62c89de Add terminal links 2024-04-14 02:41:19 +02:00
mo8it 44824718b2 Remove unused import 2024-04-12 18:58:01 +02:00
mo8it d5a6dee1b3 Handle the case when all exercises are done 2024-04-12 18:57:04 +02:00
mo8it a534de0312 Implement going to the next exercise 2024-04-12 15:27:29 +02:00
mo8it 6807e63c5f Show done message 2024-04-12 02:45:54 +02:00
mo8it fa1f239a70 Remove "I AM NOT DONE" and the verify mode and add AppState 2024-04-11 02:51:02 +02:00
mo8it 256c4013b7 Keep hint displayed after resizing the terminal 2024-04-10 15:56:38 +02:00
mo8it a59acf8835 Show the current exercise path 2024-04-10 14:29:31 +02:00
mo8it 6255efe8b2 Show the invalid command to avoid confusion after resizing the terminal 2024-04-10 04:08:40 +02:00
mo8it a46d66134b Fix shift of first output line 2024-04-10 03:56:41 +02:00
mo8it d1a965f019 Make the list mode part of the watch mode 2024-04-10 02:12:50 +02:00
mo8it 533a009257 Show the progress in the progress bar, not the current exercise index 2024-04-10 00:51:41 +02:00
mo8it c8d217ad50 Fix showing stdout and stderr 2024-04-09 22:20:12 +02:00