diff options
| author | t <t@tjp.lol> | 2026-06-12 12:22:34 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-06-12 12:47:03 -0600 |
| commit | 25ddca9ef0de807e45be1f432f841336e4be29d2 (patch) | |
| tree | 7344b27a32c8a310ef81dcfd9fdb349555bb7c7e | |
| parent | 7343898524f9f692620f4cb276f56cfde30f6269 (diff) | |
add latest output into footer context window display
| -rw-r--r-- | docs/todos.md | 10 | ||||
| -rw-r--r-- | src/tui_app.zig | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/todos.md b/docs/todos.md index cda1c6f..17dee74 100644 --- a/docs/todos.md +++ b/docs/todos.md @@ -18,16 +18,16 @@ ## panto cli - [ ] tui - - [ ] fuzzy typeahead model selector + - [x] fuzzy typeahead model selector - [ ] tab completion: filenames in cwd, slash commands - [x] rendering system for screen components - [x] lua slash commands - [ ] additional lua extension API - - [ ] Agent objects - - [ ] Conversation objects + - [x] Agent objects + - [x] Conversation objects - [ ] the current agent, conversation - - [ ] system prompt - - [ ] usage metrics + - [x] system prompt + - [x] usage metrics - [x] tui screen components - [ ] server proxy mode - [ ] shared-object extensions diff --git a/src/tui_app.zig b/src/tui_app.zig index 42dc929..4e9fee3 100644 --- a/src/tui_app.zig +++ b/src/tui_app.zig @@ -914,7 +914,7 @@ pub const App = struct { // (output/reasoning excluded — not "in the window"). Latest // value wins; not accumulated. if (mc.usage) |u| { - const ctx = u.input + u.cache_read + u.cache_write; + const ctx = u.input + u.cache_read + u.cache_write + u.output; self.footer.setContextTokens(ctx); self.scheduler.requestRender(); } |
