diff --git a/client.go b/client.go index 5e2312b..5e5f5c3 100644 --- a/client.go +++ b/client.go @@ -9,6 +9,7 @@ import ( "github.com/dim13/crc24" "github.com/gdamore/tcell/v2" + "github.com/gdamore/tcell/v2/encoding" "github.com/keys-pub/keys" "github.com/posener/formatter" "github.com/rivo/tview" @@ -131,6 +132,8 @@ func (cc *chatClient) updateChatBox(inCh <-chan string, app *tview.Application, // setScreen initializes the layout and UI components. func (cc *chatClient) SetScreen(inCh <-chan string, outCh chan<- string) { + encoding.Register() + app := tview.NewApplication() title := fmt.Sprintf(