mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 15:04:50 +02:00
Transfer response_timeout
This commit is contained in:
@@ -90,7 +90,7 @@ func create_serializer(password string, encoded_pubkey string) (ans serializer_f
|
||||
return simple_serializer, nil
|
||||
}
|
||||
|
||||
func send_rc_command(rc *utils.RemoteControlCmd) (err error) {
|
||||
func send_rc_command(rc *utils.RemoteControlCmd, timeout float64) (err error) {
|
||||
serializer, err = create_serializer(global_options.password, "")
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
@@ -21,7 +21,7 @@ func run_CMD_NAME(cmd *cobra.Command, args []string) (err error) {
|
||||
if err == nil {
|
||||
rc.NoResponse = nrv
|
||||
}
|
||||
err = send_rc_command(&rc)
|
||||
err = send_rc_command(&rc, WAIT_TIMEOUT)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user