From 6864ffa5fb3266157b40f35dd062704cafb1fa78 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Thu, 14 Mar 2024 00:24:00 +0200 Subject: [PATCH] Add messageChannel to TUI struct --- tui/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tui/types.go b/tui/types.go index 6707b62..43c1d35 100644 --- a/tui/types.go +++ b/tui/types.go @@ -99,6 +99,7 @@ type TUI struct { readInputState chan (bool) readEnterState chan (bool) stateChannel chan (string) + messageChannel chan ([]byte) widgets []*widget widgetsMutext sync.Mutex writer *bufio.Writer