diff options
author | Joe <rbo@gmx.us> | 2023-12-20 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-20 20:20:20 +0100 |
commit | 2e54711df0a7d064fd45fe1e10a5b8675b2ed459 (patch) | |
tree | fccb2fd1fd9857515a8ff35da6d3bf2d60d7962a /i_ui.go | |
parent | fix (diff) | |
download | hardflip-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.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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) } } |