From 29b37ec87df4485bf770d1d57b2042d0e10b637e Mon Sep 17 00:00:00 2001 From: IllusionMan1212 Date: Mon, 29 Nov 2021 23:22:35 +0200 Subject: [PATCH] fix: whoops --- ui/app/app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/app.go b/ui/app/app.go index 09cea55..e55df04 100644 --- a/ui/app/app.go +++ b/ui/app/app.go @@ -112,6 +112,7 @@ func (s State) Update(msg tea.Msg) (tea.Model, tea.Cmd) { client := client.NewClient(host, port, tlsEnabled) client.Register(nickname, password, channel) s.client = client + s.ui.mainScreen.Client = client r := bufio.NewReaderSize(client.Conn, 512) s.ui.mainScreen.Reader = r