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:
Leonabcd123 2025-11-26 23:51:08 +02:00 committed by GitHub
parent 31e07e28ab
commit f54c8a8cd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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...",