Commit graph

1 commit

Author SHA1 Message Date
Mario Zechner
a3b3849188 Fix SelectList crash on narrow terminal and thinking level restoration
SelectList fixes:
- Use hardcoded visual width for arrow prefix instead of string length
  which includes ANSI codes
- Truncate scroll indicator text to prevent exceeding terminal width
- Fixes crash when terminal is resized narrow and arrow keys are pressed

Thinking level fix:
- Restore thinking level even if it's "off" (removed !== "off" check)
- This ensures the thinking level selector shows the correct state on continue
2025-11-11 23:47:59 +01:00