libghostty-vt: preserve shell prompts on resize by default#12653
Conversation
This PR makes libghostty-vt preserve shell prompts across resize unless the shell explicitly opts into prompt clearing/redraw with `redraw=1`.
mitchellh
left a comment
There was a problem hiding this comment.
Darn, I can't remember the history here of why this is even defaulted to true. It seems like it might be safe to default this to false in all of Ghostty until we see any semantic prompt marker. I want to think about that for a bit instead of the targeted fix here in libghostty-vt.
Given that |
This PR makes libghostty-vt preserve shell prompts across resize unless the shell explicitly opts into prompt clearing/redraw with
redraw=1.