addressed review comments

This commit is contained in:
MrStashley 2024-03-13 14:14:41 -07:00
parent 5c9a8201b5
commit 54295ff54d
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@
{
"command": "app:focusCmdInput",
"keys": ["Cmd:i"],
"commandStr":"/mainview session,/screen:set focus=cmd,/screen:set focus=input"
"commandStr":"/mainview session;/screen:set focus=cmd;/screen:set focus=input"
},
{
"command": "app:focusSelectedLine",

View File

@ -119,7 +119,7 @@ class KeybindManager {
if (curConfigKeybind == null || curConfigKeybind.commandStr == null || curKeybind.commandStr == "") {
return false;
}
let commandsList = curConfigKeybind.commandStr.trim().split(",");
let commandsList = curConfigKeybind.commandStr.trim().split(";");
this.runIndividualSlashCommand(commandsList);
return true;
}

View File

@ -3572,7 +3572,7 @@ func SleepCommand(ctx context.Context, pk *scpacket.FeCommandPacketType) (scbus.
if err != nil {
return nil, fmt.Errorf("couldn't parse sleep arg: %v", err)
}
if sleepArgInt > 1000 {
if sleepArgInt > 10000 {
return nil, fmt.Errorf("sleep arg is too long, max value is 1000")
}
time.Sleep(time.Duration(sleepArgInt) * time.Millisecond)