claude-code-hud 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tui/hud.tsx +3 -3
package/package.json
CHANGED
package/tui/hud.tsx
CHANGED
|
@@ -1033,7 +1033,7 @@ function App() {
|
|
|
1033
1033
|
<Box flexDirection="column" height={termHeight}>
|
|
1034
1034
|
|
|
1035
1035
|
{/* ── Header / Tab bar ── */}
|
|
1036
|
-
<Box height={
|
|
1036
|
+
<Box height={4} flexDirection="column" borderStyle="single" borderColor={ctxPct > 0.85 ? (blinkOn ? C.red : C.border) : ctxPct > 0.65 ? C.yellow : C.brand} paddingX={1}>
|
|
1037
1037
|
<Box>
|
|
1038
1038
|
<Text color={C.brand} bold>◆ HUD</Text>
|
|
1039
1039
|
{TAB_NAMES.map((name, i) => (
|
|
@@ -1054,8 +1054,8 @@ function App() {
|
|
|
1054
1054
|
|
|
1055
1055
|
{/* ── Content: fixed height so header/footer never get pushed off screen ── */}
|
|
1056
1056
|
{(() => {
|
|
1057
|
-
// header ~
|
|
1058
|
-
const contentH = Math.max(4, termHeight -
|
|
1057
|
+
// header ~4 rows, footer key row ~1, footer dir row ~3 = 8 total chrome
|
|
1058
|
+
const contentH = Math.max(4, termHeight - 8);
|
|
1059
1059
|
return (
|
|
1060
1060
|
<Box flexDirection="column" height={contentH} overflow="hidden">
|
|
1061
1061
|
{showHelp ? (
|