Browse Source

fix: align agents header content updates

m.seomun 1 month ago
parent
commit
52ccabc302
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/tui.ts

+ 4 - 1
src/tui.ts

@@ -181,7 +181,10 @@ function renderSidebar(
     setProp(row, 'visible', expanded);
     setProp(row, 'visible', expanded);
     return row;
     return row;
   });
   });
-  const agentsHeader = text({ fg: theme.text }, [formatAgentsHeader(expanded)]);
+  const agentsHeader = text(
+    { fg: theme.text, content: formatAgentsHeader(expanded) },
+    [],
+  );
 
 
   return box(
   return box(
     {
     {