aboutsummaryrefslogtreecommitdiffstats
path: root/i_ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'i_ui.go')
-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)
}
}