mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-06-20 13:58:22 +00:00
Register tcell encodings (Fixes #23)
This commit is contained in:
parent
672b0bde13
commit
5c36775dd2
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user