opencode
opencode copied to clipboard
fix(tui): constrain dialog option height to single line
Summary
- Constrain dialog select options to single line height with
wrapMode="none"andmaxHeight={1} - Prevents text from wrapping to multiple lines in dialog menus
Why
-
Locale.truncatealready truncates text, butwrapMode="word"was still causing text to wrap to multiple lines - This ensures truncation works as intended and keeps all dialog options uniform height