hstr line-based history lookup tool does not render lines correctly but works with Terminal.app
Bug report
- iTerm2 version: Build 3.5.0beta11
- OS version: macOS Ventura 13.5 (22G74)
Detailed steps to reproduce the problem
hstr is a replacement for bash's built-in Ctrl-R history search, showing a nice TUI where you have an up/down line selection of the bash history. Since recently, it does not display correctly anymore but it does in macOS Terminal.app. See here for the comparison:
Maybe related – I noticed another line display issue in iTerm recently. With Terminal.app, termlink control codes to render some text as URL can be correctly piped through e.g. | grep https://example
and the URL still displays as text, while with iTerm the control codes get broken and display e.g. a verbatim 01;31m
on screen. I can give examples here if really needed.
What happened
TUI lines not displayed correctly once I press up/down which would re-render the selected line.
What should have happened
This rendered correctly before and I only auto-updated iTerm in the last months without changing settings myself.