tycono 0.3.14-beta.6 → 0.3.14-beta.7
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/src/tui/app.tsx +3 -1
package/package.json
CHANGED
package/src/tui/app.tsx
CHANGED
|
@@ -677,8 +677,10 @@ export const App: React.FC = () => {
|
|
|
677
677
|
</Box>
|
|
678
678
|
);
|
|
679
679
|
}
|
|
680
|
+
// Cap panel width to prevent yoga OOM on very wide terminals (245+ columns)
|
|
681
|
+
const panelWidth = Math.min(process.stdout.columns || 120, 160);
|
|
680
682
|
return (
|
|
681
|
-
<Box flexDirection="column" height={termHeight}>
|
|
683
|
+
<Box flexDirection="column" height={termHeight} width={panelWidth}>
|
|
682
684
|
<Box flexGrow={1} flexDirection="column">
|
|
683
685
|
<PanelMode
|
|
684
686
|
tree={orgTree}
|