Skip to content

Commit f54c8a8

Browse files
authored
impr(practice-words): Add option to practice missed and slow words from commandline (@Leonabcd123) (monkeytypegame#7125)
### Description Added an option to practice both missed and slow words from the command line by doing esc -> Practice words -> both. Implements monkeytypegame#5753
1 parent 31e07e2 commit f54c8a8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

frontend/src/ts/commandline/lists/result-screen.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ const practiceSubgroup: CommandsSubgroup = {
3333
});
3434
},
3535
},
36+
{
37+
id: "practiseWordsBoth",
38+
display: "both",
39+
exec: (): void => {
40+
PractiseWords.init("words", true);
41+
TestLogic.restart({
42+
practiseMissed: true,
43+
});
44+
},
45+
},
3646
{
3747
id: "practiseWordsCustom",
3848
display: "custom...",

0 commit comments

Comments
 (0)