Commit graph

45 commits

Author SHA1 Message Date
mo8it 685e069c58 First PR review changes 2024-10-10 19:43:35 +02:00
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 d4fa61e435 Debounce file change events 2024-09-26 12:26:24 +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 664228ef8b Improve quit message 2024-09-12 17:46:06 +02:00
mo8it 2d26358602 Use the thread builder and handle the spawn error 2024-09-06 15:40:25 +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 aa3eda70e5 Simplify handling terminal events for unbuffered stdin 2024-09-05 17:12:26 +02:00
mo8it 2d0860fe1b Hide input and disable its line buffering 2024-09-05 02:11:19 +02:00
mo8it 159273e532 Take stdout as argument in watch mode 2024-08-26 00:09:04 +02:00
mo8it 34f02cf83d Attach error message as context 2024-08-08 22:37:56 +02:00
mo8it c8481d35c1 Done documentation 2024-05-14 01:49:22 +02:00
mo8it 4ae3fcc3ca Don't skip exercises on file changes 2024-05-13 17:06:11 +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 ea40804371 Put long version in () 2024-04-27 23:38:26 +02:00
mo8it c7c8d99680 Moar responsive :P 2024-04-25 15:22:11 +02:00
mo8it 14fe248b4b Optimize the notify event handler 2024-04-25 14:44:12 +02:00
mo8it 428998a4cf Quicker response to file changes 2024-04-25 03:28:44 +02:00
mo8it 2566f9aaf6 Place mods under all imports 2024-04-18 11:31:08 +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 5c0073a948 Tolerate changes in the state file 2024-04-14 01:15:43 +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 2a95a3e966 Deal with long strings 2024-04-12 01:24:01 +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 4bb6bda9f6 Separate event handlers 2024-04-10 16:02:12 +02:00
mo8it 256c4013b7 Keep hint displayed after resizing the terminal 2024-04-10 15:56:38 +02:00
mo8it 62e92476e6 Fix typo 2024-04-10 04:10:05 +02:00
mo8it 6255efe8b2 Show the invalid command to avoid confusion after resizing the terminal 2024-04-10 04:08:40 +02:00
mo8it f034899c7f Capture terminal resize events 2024-04-10 03:54:48 +02:00
mo8it d1a965f019 Make the list mode part of the watch mode 2024-04-10 02:12:50 +02:00
mo8it ff6c15f9c1 Don't try to join the input thread 2024-04-09 22:04:10 +02:00
mo8it 4110ae21af Handle notify errors 2024-04-09 21:46:55 +02:00
mo8it f0ce2c1afa Improve event handling in the watch mode 2024-04-09 21:07:53 +02:00
mo8it 9a4ee47c52 Separate WatchState 2024-04-07 19:29:16 +02:00
mo8it 3bd26c7a24 State -> StateFile 2024-04-07 19:01:08 +02:00
mo8it b0a4750624 Implement "continue at" 2024-04-07 04:59:22 +02:00
mo8it 0819bbe21f Can't use Ratatui for the watch mode :( 2024-04-07 01:17:53 +02:00