I'm experiencing line wrapping issues when using bash with fzf[1]. The issue is described in [2] and it looks like it is not caused by fzf but instead by bash itself.
For the sake of completeness, here are the steps to reproduce: 1. Use bash with fzf, this requires you to install fzf. See [3]. 2. Do an echo "abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc" (so you have that command in your bash history) 3. export PS1="abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc" 4. Activate fzf's reverse-i-search (Ctrl + r) (you need to have sourc'ed fzf's $HOME/.fzf.bash file) 5. Select the echo "abc .." line, press enter 6. Bash prompt is wrapped incorrectly. After pressing enter in the last step, the cursor is placed at the very end of the line (right after the closing "), however there is more text on the right side of the cursor (after EOL). See this screencast[4]. Is this problem caused by bash? [1]: https://github.com/junegunn/fzf [2]: https://github.com/junegunn/fzf/issues/994 [3]: https://github.com/junegunn/fzf#installation [4]: https://git.io/v7MCY
signature.asc
Description: Message signed with OpenPGP using GPGMail