mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Work on supporting streaming remote commands with passwords
This commit is contained in:
@@ -43,6 +43,14 @@ func create_rc_CMD_NAME(args []string) (*utils.RemoteControlCmd, error) {
|
||||
Cmd: "CLI_NAME",
|
||||
Version: ProtocolVersion,
|
||||
NoResponse: NO_RESPONSE_BASE,
|
||||
Stream: STREAM_WANTED,
|
||||
}
|
||||
if rc.Stream {
|
||||
stream_id, err := utils.HumanRandomId(128)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
rc.StreamId = stream_id
|
||||
}
|
||||
if IS_ASYNC {
|
||||
async_id, err := utils.HumanRandomId(128)
|
||||
|
||||
Reference in New Issue
Block a user