tinybox

Owner: IIIlllIIIllI URL: git@github.com:nyangkosense/tinybox.git

Update README.md

Commit 91f3851bc68a142175d8c9a46b9aa82c1442f7e6 by Sebastian <102849993+nyangkosense@users.noreply.github.com> on 2025-09-02 12:22:28 +0200
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.