mo8it
eff2ce8a23
Ignore input while checking all exercises in watch mode
2024-11-11 14:55:58 +01:00
mo8it
46ad25f925
Fix contrast in terminals with a light theme
2024-11-11 14:34:33 +01:00
mo8it
e8c2a79516
Deduplicate code for printing keys
2024-10-26 16:55:15 +02:00
mo8it
932bc25d88
Remove unneeded line
2024-10-14 01:28:34 +02:00
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
Rustlings Tests / clippy (push) Has been cancelled
Rustlings Tests / fmt (push) Has been cancelled
Rustlings Tests / test (macOS-latest) (push) Has been cancelled
Rustlings Tests / test (ubuntu-latest) (push) Has been cancelled
Rustlings Tests / test (windows-latest) (push) Has been cancelled
Rustlings Tests / dev-check (push) Has been cancelled
Web / Build and deploy site and docs (push) Has been cancelled
2024-09-26 18:15:45 +02:00
mo8it
d4fa61e435
Debounce file change events
2024-09-26 12:26:24 +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
51b8d2ab25
Remove unused import
2024-09-05 17:23:56 +02:00
mo8it
aa3eda70e5
Simplify handling terminal events for unbuffered stdin
2024-09-05 17:12:26 +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
17a2d42ffd
Better variable naming
2024-05-13 16:44:48 +02:00
mo8it
a7bc6d53a5
Only send Unrecognized
on ENTER if the last input wasn't valid
2024-05-13 16:39:38 +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
14fe248b4b
Optimize the notify event handler
2024-04-25 14:44:12 +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
5c0073a948
Tolerate changes in the state file
2024-04-14 01:15:43 +02:00