You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Ugh. If your prompt is exactly the width of the screen, then in some terminals, the clr_eol fish emits will cause the last character to be erased. This means we need to track the width of each line of the the (possibly truncated) prompt.
This means, if we repaint with a shorter prompt, we won't overwrite the longer parts.
This reintroduces #8002, but that's a much rarer usecase - having a prompt that fills the entire screen,
in certain terminals.
This reverts commit d3ceba1.