aboutsummaryrefslogtreecommitdiffstats
path: root/i_ui.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-20 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-20 20:20:20 +0100
commit2e54711df0a7d064fd45fe1e10a5b8675b2ed459 (patch)
treefccb2fd1fd9857515a8ff35da6d3bf2d60d7962a /i_ui.go
parentfix (diff)
downloadhardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.tar.gz
hardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.tar.bz2
hardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.tar.xz
hardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.tar.zst
hardflip-2e54711df0a7d064fd45fe1e10a5b8675b2ed459.zip
delete
Diffstat (limited to '')
-rw-r--r--i_ui.go5
1 files changed, 1 insertions, 4 deletions
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)
}
}