From b11c892158772f508e494b2726a5d4db1bb74d23 Mon Sep 17 00:00:00 2001 From: citrons Date: Sat, 31 May 2025 17:16:38 -0500 Subject: text input box --- client/main.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'client/main.go') diff --git a/client/main.go b/client/main.go index 1f46a00..4c65752 100644 --- a/client/main.go +++ b/client/main.go @@ -3,10 +3,15 @@ package main import ( "citrons.xyz/talk/tui" "time" + "fmt" + "os" ) func main() { - tui.Start() + err := tui.Start() + if err != nil { + fmt.Fprintln(os.Stderr, "error initializing terminal: ", err) + } app := newApplication("localhost:27508") go app.RunClient() -- cgit v1.2.3