diff options
Diffstat (limited to 'client/ui.go')
| -rw-r--r-- | client/ui.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/client/ui.go b/client/ui.go index a6b6924..50e7790 100644 --- a/client/ui.go +++ b/client/ui.go @@ -7,7 +7,6 @@ import ( "citrons.xyz/talk/proto" "zgo.at/termfo/keys" "strings" - "os" ) func (a *application) getWin() window.Window { @@ -189,7 +188,6 @@ func (a *application) showWindow() { } func (a *application) show() { - tui.Clear() s := tui.Size() tui.Push("", tui.Box { Width: tui.BoxSize(s.Width), Height: tui.BoxSize(s.Height), @@ -201,9 +199,4 @@ func (a *application) show() { tui.Text(strings.Repeat("│", s.Height), nil) tui.Pop() a.showWindow() - - tui.DrawLayout() - if tui.Present() != nil { - os.Exit(-1) - } }
\ No newline at end of file |
