tycono 0.1.96-beta.11 → 0.1.96-beta.12

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/src/tui/app.tsx +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tycono",
3
- "version": "0.1.96-beta.11",
3
+ "version": "0.1.96-beta.12",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/tui/app.tsx CHANGED
@@ -57,12 +57,12 @@ export const App: React.FC = () => {
57
57
  // System messages (command feedback displayed in stream area)
58
58
  const [systemMessages, setSystemMessages] = useState<StreamLine[]>([]);
59
59
 
60
- // Terminal full height with resize tracking
61
- const [termHeight, setTermHeight] = useState(process.stdout.rows || 30);
60
+ // Terminal full height with resize tracking (minus 1 for wide-char overflow safety)
61
+ const [termHeight, setTermHeight] = useState((process.stdout.rows || 30) - 1);
62
62
 
63
63
  useEffect(() => {
64
64
  const onResize = () => {
65
- setTermHeight(process.stdout.rows || 30);
65
+ setTermHeight((process.stdout.rows || 30) - 1);
66
66
  };
67
67
  process.stdout.on('resize', onResize);
68
68
  return () => {