mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-04 18:59:08 +01:00
addressed review comments
This commit is contained in:
parent
5c9a8201b5
commit
54295ff54d
@ -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",
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user