From 29efe1a61bd4766d5f0ffa326d2de95eabc9e755 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 5 Apr 2024 20:20:20 +0200 Subject: in progress --- src/i_insert.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') 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 } } -- cgit v1.2.3