Closed cxMiguelSilva closed 1 year ago
@cxMiguelSilva I can't reproduce this in plain bash in iTerm2 on macOS (same logic). Can you validate it's not caused by vscode's shell integrations?
@cxMiguelSilva any update on this after my question?
Hi @JanDeDobbeleer, I set the terminal.integrated.shellIntegration.enabled
to false
and it still occurs.
@cxMiguelSilva I can't reproduce this at all, tried again and again, it never really happens. Can you try upgrading to the latest oh-my-posh AND upgrade bash and see if the issue persists?
I have the same issue.... please if you solved it, could you tell me how?
I wasn't able to solve it, but from I have personally tested it does not occur in wsl with ubuntu 22.04. This is one of the main reasons for me to migrate from 20.04 in the near future.
Hi @JanDeDobbeleer, I set the
terminal.integrated.shellIntegration.enabled
tofalse
and it still occurs.
I could solve it on Pop OS! Actually... that solution worked for me.
For future reference, this is me:
NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 22.04 LTS" VERSION_ID="22.04"
Thanks!
I have a similar issue. Running this on Mac, and the terminal.integrated.shellIntegration.enabled=false
doesn't seem to fix.
Issue persists on all of vscode, iTerm2, and Terminal.
I had a slight variation of this issue. When I recall from history and there is some sort of line wrap, then the text on the first line vanishes on editing (or fast scrolling using option+arrow). Also, it seems that part of the issue is that the new characters that come in place are ascii code 32 (aka space), but only on all the characters from the first line. The characters from the second line persist visually.
Of note, only the display seems to be disrupted. It seems that the internal structure is still intact. Here's a video showing the same. https://asciinema.org/a/lxrVqFU5B3tvbHOGhQGKkqU5S
The characters vanish on editing, but the ffmpeg command still gets executed, so whatever internal structure is modified is persisted.
@AHarmlessPyro see the same topic in discussions. I have a theoretical build that could solve this (but breaks other things).
Awesome. I'll try the new builds out. For anyone else interested, I think the discussion mentioned above is this one: https://github.com/JanDeDobbeleer/oh-my-posh/discussions/4508
@AHarmlessPyro correct, it's in this message.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
I use oh my posh on my work laptop that is running Windows 11 with WSL 2 Ubuntu 20.04 and in both environments when using it inside the VsCode when I try to edit the first line of a multiline command it disappears.
I have been using Oh My Posh on my machine for quite a while and I need to thank you for this amazing tool!
Theme
I believe is the default one
What OS are you seeing the problem on?
Linux
Which shell are you using?
bash
Log output