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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user