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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tui/hud.tsx +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-hud",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "Terminal HUD for Claude Code — real-time token usage, git status, project monitor",
5
5
  "type": "module",
6
6
  "bin": {
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={3} borderStyle="single" borderColor={ctxPct > 0.85 ? (blinkOn ? C.red : C.border) : ctxPct > 0.65 ? C.yellow : C.brand} paddingX={1} justifyContent="space-between">
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 ~3 rows, footer key row ~1, footer dir row ~3 = 7 total chrome
1058
- const contentH = Math.max(4, termHeight - 7);
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 ? (