Add messageChannel to TUI struct

This commit is contained in:
qowevisa 2024-03-14 00:24:00 +02:00
parent 010ef1937c
commit 6864ffa5fb

View File

@ -99,6 +99,7 @@ type TUI struct {
readInputState chan (bool) readInputState chan (bool)
readEnterState chan (bool) readEnterState chan (bool)
stateChannel chan (string) stateChannel chan (string)
messageChannel chan ([]byte)
widgets []*widget widgets []*widget
widgetsMutext sync.Mutex widgetsMutext sync.Mutex
writer *bufio.Writer writer *bufio.Writer