aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_insert.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-02-28 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-02-28 20:20:20 +0100
commit561391d9d0f0608ee0ab0e066a92cf86502e418a (patch)
treede5ef4d3967278f6a16dfb47e4367529db4175ff /src/i_insert.go
parentgop (diff)
downloadhardflip-561391d9d0f0608ee0ab0e066a92cf86502e418a.tar.gz
hardflip-561391d9d0f0608ee0ab0e066a92cf86502e418a.tar.bz2
hardflip-561391d9d0f0608ee0ab0e066a92cf86502e418a.tar.xz
hardflip-561391d9d0f0608ee0ab0e066a92cf86502e418a.tar.zst
hardflip-561391d9d0f0608ee0ab0e066a92cf86502e418a.zip
fuckye
Diffstat (limited to '')
-rw-r--r--src/i_insert.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/i_insert.go b/src/i_insert.go
index 12f4cf3..ff967ce 100644
--- a/src/i_insert.go
+++ b/src/i_insert.go
@@ -43,7 +43,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* hardflip: src/i_insert.go
- * Tue Feb 27 14:31:54 2024
+ * Wed Feb 28 17:27:20 2024
* Joe
*
* insert a new host
@@ -97,7 +97,10 @@ func i_draw_insert_panel(ui HardUI, in *HostNode) {
i_draw_text_box(ui, win.T + line, win, "Connection type", in.protocol_str(),
0, ui.insert_sel)
line += 2
- i_draw_insert_ssh(ui, line, win, in)
+ switch in.Protocol {
+ case 0:
+ i_draw_insert_ssh(ui, line, win, in)
+ }
}
func i_draw_insert_ssh(ui HardUI, line int, win Quad, in *HostNode) {