Repository navigation
Commit 2fbcf85
committed
fix(tui): ensure input text visible at small window sizes (fixes anomalyco#4332)
The prompt component had flexShrink={0} which prevented the textarea
container from shrinking when the window is small. This caused text
to become invisible or clipped at small terminal sizes (80x24, 80x40).
Changed the textarea container box to use:
- minHeight={0} to allow shrinking below content size
- flexShrink={1} to allow responsive shrinking
This follows the same pattern used in home.tsx for components that
need to shrink responsively while maintaining minimum visibility.1 parent 138cba1 commit 2fbcf85
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
899 | | - | |
| 899 | + | |
| 900 | + | |
900 | 901 | | |
901 | 902 | | |
902 | 903 | | |
| |||
0 commit comments