Emoji in PS1 causes stray character to appear when navigating bash history
iTerm2 version: Build 3.1.3.beta.1 (I think this started in the previous version/beta version)
OS version: macOS 10.13 (High Sierra)
Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
Detailed steps to reproduce the problem:
export PS1="🍀: $
echo 'hi'+ enter
- press up arrow, then down arrow
The first letter of the previous command appears prepended to the command (but it is not really, it's purely visual).
What should have happened:
The command prompt would appear with only the previous command.
Note: This only happens if the inputted command is at least 6 characters long.