From 2e54711df0a7d064fd45fe1e10a5b8675b2ed459 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 20 Dec 2023 20:20:20 +0100 Subject: delete --- i_ui.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'i_ui.go') diff --git a/i_ui.go b/i_ui.go index 8eb1f49..90feeea 100644 --- a/i_ui.go +++ b/i_ui.go @@ -370,9 +370,6 @@ func i_ui(data *Data) { Background(tcell.ColorReset). Foreground(tcell.ColorReset) data.s.SetStyle(def_style) - quit := func() { - data.s.Fini() - } for { term_size[W], term_size[H], _ = term.GetSize(0) data.s.Clear() @@ -383,6 +380,6 @@ func i_ui(data *Data) { i_draw_zhosts_box(data.s, term_size, def_style) } data.s.Show() - i_events(data, &sel, &sel_max, &term_size, quit) + i_events(data, &sel, &sel_max, &term_size) } } -- cgit v1.2.3