feat(tui): add /usage context and token charts
This commit is contained in:
1 parent
cccf6e4608
commit
b7fc4146e0
9 files changed
+982
-11
No files matched your search
@@ -22,6 +22,7 @@ export type FooterMode =
|
||||
| "command"
|
||||
| "session"
|
||||
| "context"
|
||||
| "usage"
|
||||
| "history"
|
||||
| "ready"
|
||||
|
||||
@@ -87,6 +88,7 @@ function hintsFor(
|
||||
if (mode === "session") return width >= 64
|
||||
? [hint("type", "filter"), hint("↑↓", "choose"), hint("enter", "open"), hint("esc", "close")]
|
||||
: [hint("enter", "open"), hint("esc", "close")]
|
||||
if (mode === "usage") return [hint("←→", "round"), hint("esc", "close")]
|
||||
if (mode === "context") return [hint("esc", "close"), hint("pgup/pgdn", "scroll")]
|
||||
if (mode === "history") return width >= 72
|
||||
? [hint("ctrl+end", "latest"), hint("pgup/pgdn", "scroll")]
|
||||
|
||||
Reference in new issue
Block a user