From f54c8a8cd8871249fc855ae542637aa354cc8153 Mon Sep 17 00:00:00 2001 From: Leonabcd123 <156839416+Leonabcd123@users.noreply.github.com> Date: Wed, 26 Nov 2025 23:51:08 +0200 Subject: [PATCH] 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 --- frontend/src/ts/commandline/lists/result-screen.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend/src/ts/commandline/lists/result-screen.ts b/frontend/src/ts/commandline/lists/result-screen.ts index 7688b2d0a..60207281b 100644 --- a/frontend/src/ts/commandline/lists/result-screen.ts +++ b/frontend/src/ts/commandline/lists/result-screen.ts @@ -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...",