Repro with reflow PR in the demo:
- input some longish multiline command, e.g.
echo "Lorem ipsum.....", press enter
- use arrow up to see the command again, dont press enter
- use arrow down to get back to clean prompt
- input
ls, press enter
- shrink/enlarge viewport width

Above the first 3 lines of the ls output wrongly reflow as they belong to one wrapped line.
Note this is not an issue of the reflow PR, the PR just makes the problem obvious. It seems we currently do not lift the isWrapped flag for eraseChar which happens to be send by libreadline when navigating through bash comands with arrow keys.
Repro with reflow PR in the demo:
echo "Lorem ipsum.....", press enterls, press enterAbove the first 3 lines of the
lsoutput wrongly reflow as they belong to one wrapped line.Note this is not an issue of the reflow PR, the PR just makes the problem obvious. It seems we currently do not lift the
isWrappedflag foreraseCharwhich happens to be send by libreadline when navigating through bash comands with arrow keys.