-
Environment details
Issue descriptionWhen using a custom prompt definition - in my case |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It sounds like you aren't syncing the front and backend's dimensions https://github.com/xtermjs/xterm.js/wiki/FAQ#characters-are-being-overwritten-when-wrapped-to-a-new-line |
Beta Was this translation helpful? Give feedback.
After a quick skim of the code that does look correct. It might be an issue with your shell or something as this definitely does work or we'd hear about it not working in VS Code. My guess is you need to tell bash which parts of the prompt are formatting via
\[
and\]
.