Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

OSC 9;9 sequence is not working. #349

Closed
saifali-ch opened this issue Feb 9, 2021 · 1 comment
Closed

OSC 9;9 sequence is not working. #349

saifali-ch opened this issue Feb 9, 2021 · 1 comment

Comments

@saifali-ch
Copy link

saifali-ch commented Feb 9, 2021

When I use oh-my-posh and posh-git module then:

  • The sequence doesn't work at all when duplicating tabs. The duplicate tab always opens in the default location.

  • Further, this sequence is emitted at the wrong time. --like when piping commands
    image

  • If I comment below portion of the code in file oh-my-posh.psm1 --line 36 to 39, the sequence doesn't emit while piping.
    image

After removing both oh-my-posh and posh-git modules:

  • I added the prompt provided by this skyline75489 guy to my Powershell profile.
  • The sequence was working fine and the duplicate tab always opens in the current working dir as expected.
  • But like oh-my-posh it also emits the sequence while piping.

So, how I can get rid of these aforementioned problems when using oh-my-posh?

I'm using PowerShell Core and oh-my-posh 2.0.496.

image

@JanDeDobbeleer
Copy link
Owner

I'm going to add this in V3, follow up on that here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants