opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix(tui): constrain dialog option height to single line

Open sachnun opened this issue 1 month ago • 0 comments

Summary

  • Constrain dialog select options to single line height with wrapMode="none" and maxHeight={1}
  • Prevents text from wrapping to multiple lines in dialog menus

Why

  • Locale.truncate already truncates text, but wrapMode="word" was still causing text to wrap to multiple lines
  • This ensures truncation works as intended and keeps all dialog options uniform height

sachnun avatar Dec 13 '25 04:12 sachnun