aboutsummaryrefslogtreecommitdiffstats
path: root/src/e_keys.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-09-09 18:33:04 +0200
committerJoe <rbo@gmx.us>2024-09-09 18:33:04 +0200
commit0527dc94765eace6fb2096fb9105858d51b83deb (patch)
tree1b844e1ffa571f12ec3261f98936e7b0e9dec749 /src/e_keys.go
parentfuck (diff)
downloadhardflip-0527dc94765eace6fb2096fb9105858d51b83deb.tar.gz
hardflip-0527dc94765eace6fb2096fb9105858d51b83deb.tar.bz2
hardflip-0527dc94765eace6fb2096fb9105858d51b83deb.tar.xz
hardflip-0527dc94765eace6fb2096fb9105858d51b83deb.tar.zst
hardflip-0527dc94765eace6fb2096fb9105858d51b83deb.zip
gg
Diffstat (limited to '')
-rw-r--r--src/e_keys.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/e_keys.go b/src/e_keys.go
index d46df05..56164e0 100644
--- a/src/e_keys.go
+++ b/src/e_keys.go
@@ -656,6 +656,7 @@ func e_insert_events(data *HardData, ui *HardUI, event tcell.EventKey) bool {
data.insert.parent = parent
data.insert.filename = filename
data.insert.Protocol = int8(event.Rune() - 48 - 1)
+ data.litems.curr.Host.Protocol = data.insert.Protocol
ui.insert_sel_ok = false
ui.s.HideCursor()
e_set_protocol_defaults(data, data.insert)