diff --git a/assets/default-keybindings.json b/assets/default-keybindings.json index 96c1c70e2..4a4b7a5fa 100644 --- a/assets/default-keybindings.json +++ b/assets/default-keybindings.json @@ -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", diff --git a/src/util/keyutil.ts b/src/util/keyutil.ts index fbe812cb9..4da4fecf1 100644 --- a/src/util/keyutil.ts +++ b/src/util/keyutil.ts @@ -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; } diff --git a/wavesrv/pkg/cmdrunner/cmdrunner.go b/wavesrv/pkg/cmdrunner/cmdrunner.go index f2a3f8bce..4f79437db 100644 --- a/wavesrv/pkg/cmdrunner/cmdrunner.go +++ b/wavesrv/pkg/cmdrunner/cmdrunner.go @@ -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)