From 6d0b3b71ea66f7555ce80ee64cf22d439a4c6ccd Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 16 May 2024 20:20:20 +0200 Subject: hey this might even work --- src/e_keys.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/e_keys.go') diff --git a/src/e_keys.go b/src/e_keys.go index 24976e6..aeca0b6 100644 --- a/src/e_keys.go +++ b/src/e_keys.go @@ -763,8 +763,10 @@ func e_insert_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { data.insert.Jump.Host = ui.buff.str() if len(ui.buff.str()) > 0 { data.insert.Jump.Port = 22 + data.insert.Jump.Priv = data.opts.DefSSH } else { data.insert.Jump.Port = 0 + data.insert.Jump.Priv = "" } case INS_SSH_JUMP_PORT, INS_RDP_JUMP_PORT + len(data.insert.Drive): -- cgit v1.2.3