Incorrect wrapping lines after changed PS1 env var
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: Build 3.0.13
- OS version: macOS 10.12.1
- 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
- Are you reporting a performance issue or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
Detailed steps to reproduce the problem:
- open a new tab in iTerm2
- paste the following commands to the tab
echo long line 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 export PS1="\033[0;32mhello\033[0m $PS1" echo long line 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
What happened:
The third command was incomplete:
What should have happened:
It should be fine.