mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-02 05:24:50 +08:00
impr(practice-words): Add option to practice missed and slow words from commandline (@Leonabcd123) (#7125)
### Description Added an option to practice both missed and slow words from the command line by doing esc -> Practice words -> both. Implements #5753
This commit is contained in:
parent
31e07e28ab
commit
f54c8a8cd8
1 changed files with 10 additions and 0 deletions
|
|
@ -33,6 +33,16 @@ const practiceSubgroup: CommandsSubgroup = {
|
|||
});
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "practiseWordsBoth",
|
||||
display: "both",
|
||||
exec: (): void => {
|
||||
PractiseWords.init("words", true);
|
||||
TestLogic.restart({
|
||||
practiseMissed: true,
|
||||
});
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "practiseWordsCustom",
|
||||
display: "custom...",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue