TUI Library written in Go
Files | Log | Commits | Refs | README
Author: Sebastian
Date: 2025-09-02
Subject: Update README.md
commit 91f3851bc68a142175d8c9a46b9aa82c1442f7e6 Author: Sebastian <102849993+nyangkosense@users.noreply.github.com> Date: Tue Sep 2 12:22:28 2025 +0200 Update README.md diff --git a/README.md b/README.md index 7178f0e..f12fe78 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ Input comes through as events - keyboard, mouse, resize. The event loop is yours Here's the simplest possible program: ```go -tui.Init() +tb.Init() defer tui.Close() -tui.PrintAt(0, 0, "some string") -tui.Present() -tui.PollEvent() // wait for key +tb.PrintAt(0, 0, "some string") +tb.Present() +tb.PollEvent() // wait for key ``` Look at example.go if you want to see something more complex. It's a basic system monitor that shows how to handle resize, use colors, and create a simple table layout. The API won't change because there's no version to track. You have the code. If you need it to work differently, change it.