aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_insert.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-04-05 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-04-05 20:20:20 +0200
commit29efe1a61bd4766d5f0ffa326d2de95eabc9e755 (patch)
tree6aa0c3641d91c235c7dfec0adaf06fea3ea9a4bb /src/i_insert.go
parentfuck its hard (diff)
downloadhardflip-29efe1a61bd4766d5f0ffa326d2de95eabc9e755.tar.gz
hardflip-29efe1a61bd4766d5f0ffa326d2de95eabc9e755.tar.bz2
hardflip-29efe1a61bd4766d5f0ffa326d2de95eabc9e755.tar.xz
hardflip-29efe1a61bd4766d5f0ffa326d2de95eabc9e755.tar.zst
hardflip-29efe1a61bd4766d5f0ffa326d2de95eabc9e755.zip
in progress
Diffstat (limited to '')
-rw-r--r--src/i_insert.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/i_insert.go b/src/i_insert.go
index ec9d899..d012c71 100644
--- a/src/i_insert.go
+++ b/src/i_insert.go
@@ -43,7 +43,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* hardflip: src/i_insert.go
- * Fri Mar 29 16:51:31 2024
+ * Fri Apr 05 10:42:36 2024
* Joe
*
* insert a new host
@@ -53,7 +53,6 @@ package main
import (
"errors"
- "fmt"
"os"
"strconv"
@@ -165,9 +164,7 @@ func i_draw_insert_panel(ui HardUI, in *HostNode) {
end_line = i_draw_insert_ssh(ui, line, win, in)
}
if win.T + end_line >= win.B {
- ui.s.Fini()
- fmt.Println(end_line)
- os.Exit(0)
+ ui.s.SetContent(ui.dim[W] / 2, win.B, '▼', nil, ui.style[BOX_STYLE])
// TODO: here
}
}