powerlevel10k: when using a Go prompt lib it breaks using this theme
I have GoLang CLI app which uses this lib to show console prompts. When using the select type from this the command is interrupted and breaks with error
Unexpected Escape Sequence: ['\x1b' 'O']. This does not happen when using powerline9k theme.
Also once I load powerline10k theme on a shell the broken behavior remains even if I switch back to powerline9k theme by sourcing it. Only if I launch a new shell with powerline9k by default it works again
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 24 (10 by maintainers)
Sourcing
~/.zshrcis unreliable. You can useexec zshinstead. This will reinitialize everything without forking a new process and without changing your directory.