Do not erase the line the prompt was on (#4918)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- When the cursor is not at column 0, Init() makes space so fzf draws on the next line and the prompt line is left intact - Close() undid that: it moved up onto the prompt line before ESC[J, so the erase wiped a line fzf never wrote on - Shells repaint afterwards, so it showed as a flicker of the last prompt line. Reported on fish, also seen on bash and nushell. zsh erases the same line but repaints fast enough to hide it - Erase our own area first, then step back and restore the column, so nothing on that line is touched, RPROMPT included Fix #4913
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+6 added−1 removed
- other:+6 added−1 removed