diff options
author | Joe <rbo@gmx.us> | 2024-04-11 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-04-11 20:20:20 +0200 |
commit | af42852cea1960ab41dd04fd84d53f21e7cebe31 (patch) | |
tree | ebfab3690ce994600b1901dd1512be5ff948e9f2 /src/i_events.go | |
parent | no way look at the date on events (diff) | |
download | hardflip-af42852cea1960ab41dd04fd84d53f21e7cebe31.tar.gz hardflip-af42852cea1960ab41dd04fd84d53f21e7cebe31.tar.bz2 hardflip-af42852cea1960ab41dd04fd84d53f21e7cebe31.tar.xz hardflip-af42852cea1960ab41dd04fd84d53f21e7cebe31.tar.zst hardflip-af42852cea1960ab41dd04fd84d53f21e7cebe31.zip |
tmp
Diffstat (limited to 'src/i_events.go')
-rw-r--r-- | src/i_events.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/i_events.go b/src/i_events.go index ca1e017..de92428 100644 --- a/src/i_events.go +++ b/src/i_events.go @@ -620,6 +620,7 @@ func i_events(data *HardData) { case INS_SSH_JUMP_PASS: break case INS_SSH_JUMP_PRIV: ui.buff = data.insert.Jump.Priv case INS_RDP_DOMAIN: ui.buff = data.insert.Domain + case INS_RDP_FILE: ui.buff = data.insert.RDPFile case INS_SSH_OK, INS_RDP_OK: data.ui.insert_sel_ok = false @@ -670,7 +671,8 @@ func i_events(data *HardData) { INS_RDP_PORT, INS_RDP_DOMAIN, INS_RDP_USER, - INS_RDP_PASS: + INS_RDP_PASS, + INS_RDP_FILE: if event.Key() == tcell.KeyEnter { switch data.ui.insert_sel { case INS_SSH_HOST, @@ -707,6 +709,8 @@ func i_events(data *HardData) { data.insert.Jump.Priv = ui.buff case INS_RDP_DOMAIN: data.insert.Domain = ui.buff + case INS_RDP_FILE: + data.insert.RDPFile = ui.buff } data.ui.insert_sel_ok = false ui.buff = "" |