feat(tui): implement dark mode with runtime /theme switching

- Paint dark background at app shell level via appStyle() helper
- Add /theme slash command for runtime light/dark switching
- Add comprehensive dark-mode style tests
- Document --theme dark in README Quick Start
This commit is contained in:
loveuer
2026-06-24 20:45:06 -07:00
parent 3d403bd685
commit 9abd5c3b5f
4 changed files with 158 additions and 4 deletions
+6
View File
@@ -23,6 +23,12 @@ export AGENTU_API_KEY='your-api-key'
go run .
```
Use dark mode when your terminal is dark:
```sh
go run . --theme dark
```
Use `--yolo` only when you want agentu to write files or run shell commands:
```sh