stinos / PsFzfLite

Powershell utilities for working with fzf
MIT License
8 stars 0 forks source link

Break oh-my-posh's icon #5

Open Kotenkuu opened 5 months ago

Kotenkuu commented 5 months ago

image The icons in oh-my-posh got broken after using PsFzfLite commands and shortcuts. The fzf command in the first line doesn't break oh-my-posh. But the PsFzfLite command in the second line and shortcut ctrl-c in the third line broke oh-my-posh's icon. All commands and shortcuts broke it, except Invoke-FuzzyKillProcess.

stinos commented 5 months ago

the PsFzfLite command in the second line and shortcut ctrl-c in the third line broke oh-my-posh's icon

Do you mean you call Invoke-FuzzyBrowse and then exit fzf via ctrl-c? Or did you select an item? And if not can you test what happens if you select an item?

Kotenkuu commented 5 months ago

Both exit with ctrl-c or esc and select an item will cause this. And is the same for invoke commands and shortcuts

Kotenkuu commented 5 months ago

After messing around, I think I found the cause. It also appeared on PSFzf and they managed to fix it https://github.com/kelleyma49/PSFzf/issues/71