Unable to view session logs as it contains lots of markup which is not readable
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version:Build 3.0.13
- OS version:Mac os 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 com.googlecode.iterm2.plist Detailed steps to reproduce the problem:
- Go to Iterm2 and enable session logging and give directory
- Install zsh & OhMyz for git
- Session logs shows all weird markups . It should only show legible text
What happened:
]133;D;0]1337;RemoteHost=arung@Aruns-MacBook-Pro.local]1337;CurrentDir=/tmp/xyz]1337;SetUserVar=gitBranch= [0m[27m[24m[J]133;A[1m[36m┌─[1m[30m([1m[32m/tmp/enterprise-sra[1m[30m)[1m[36m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[1m[30m([1m[36marung[1m[30m@[1m[32mAruns-MacBook-Pro:s006[1m[30m)[1m[36m─┐ [1m[36m└[1m[34m─([1m[33m17:10:25[34m[00m[1m[34m)[1m[36m──>(B[m ]133;B[K[171C [1m[36m─[1m[34m─([1m[33mTue,Dec27[1m[34m)─[1m[36m┘(B[m[187D[?1h=[?2004h
What should have happened: This is just a prompt , it should have been arung@Aruns-MacBook-Pro.local