mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
fixed command line input starting the test. closes #1487
This commit is contained in:
parent
26f7ca38ec
commit
393b57455a
1 changed files with 4 additions and 0 deletions
|
@ -599,6 +599,7 @@ let commandsPaceCaret = {
|
|||
display: "off",
|
||||
exec: () => {
|
||||
UpdateConfig.setPaceCaret("off");
|
||||
TestLogic.restart();
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -606,6 +607,7 @@ let commandsPaceCaret = {
|
|||
display: "pb",
|
||||
exec: () => {
|
||||
UpdateConfig.setPaceCaret("pb");
|
||||
TestLogic.restart();
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -613,6 +615,7 @@ let commandsPaceCaret = {
|
|||
display: "average",
|
||||
exec: () => {
|
||||
UpdateConfig.setPaceCaret("average");
|
||||
TestLogic.restart();
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -622,6 +625,7 @@ let commandsPaceCaret = {
|
|||
exec: (input) => {
|
||||
UpdateConfig.setPaceCaretCustomSpeed(input);
|
||||
UpdateConfig.setPaceCaret("custom");
|
||||
TestLogic.restart();
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue