aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_events.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-04-16 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-04-16 20:20:20 +0200
commit8ec7d12ba76a8db0a82a0cda5c7598f1bf711edc (patch)
tree590d3118298e63576ad542a6d47fa731554cbf51 /src/i_events.go
parentlookin good (diff)
downloadhardflip-8ec7d12ba76a8db0a82a0cda5c7598f1bf711edc.tar.gz
hardflip-8ec7d12ba76a8db0a82a0cda5c7598f1bf711edc.tar.bz2
hardflip-8ec7d12ba76a8db0a82a0cda5c7598f1bf711edc.tar.xz
hardflip-8ec7d12ba76a8db0a82a0cda5c7598f1bf711edc.tar.zst
hardflip-8ec7d12ba76a8db0a82a0cda5c7598f1bf711edc.zip
qwe
Diffstat (limited to 'src/i_events.go')
-rw-r--r--src/i_events.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_events.go b/src/i_events.go
index b0d0fda..268fda5 100644
--- a/src/i_events.go
+++ b/src/i_events.go
@@ -340,8 +340,9 @@ func i_set_protocol_defaults(data *HardData, in *HostNode) {
data.ui.insert_sel_max = INS_RDP_OK + len(in.Drive)
in.drive_keys = nil
case PROTOCOL_CMD:
+ in.Silent = false
in.Shell = []string{"/bin/sh", "-c"}
- data.ui.insert_sel_max = 2
+ data.ui.insert_sel_max = INS_CMD_OK
case PROTOCOL_OS:
in.Stack.RegionName = "eu-west-0"
in.Stack.IdentityAPI = "3"