mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 17:00:59 +00:00
Add tui.md and improve TUI documentation
- New tui.md covers component system for hooks and custom tools - Update hooks.md intro with 'Key capabilities' highlighting UI - Update custom-tools.md intro with 'Key capabilities' highlighting UI - Reference tui.md from both docs
This commit is contained in:
parent
29e0ed9cd1
commit
20fbf40fac
3 changed files with 337 additions and 7 deletions
|
|
@ -432,7 +432,7 @@ Your component can:
|
|||
- Call `handle.requestRender()` to trigger re-render
|
||||
- Call `handle.close()` when done to restore normal UI
|
||||
|
||||
See [examples/hooks/snake.ts](../examples/hooks/snake.ts) for a complete example with game loop, keyboard handling, and state persistence.
|
||||
See [examples/hooks/snake.ts](../examples/hooks/snake.ts) for a complete example with game loop, keyboard handling, and state persistence. See [tui.md](tui.md) for the full component API.
|
||||
|
||||
### ctx.hasUI
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue