-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird breakage caused from activating fzf on v9.0.0 #2758
Comments
@brian6932 this doesn't happen for me, what did you use to enable fzf? I know there's different options, and looking at the changes in 9, it can't be linked to that. |
@brian6932 I noticed that you use Alacritty Terminal. Could this be an Alacritty related issue? |
@lewis-yeung good catch. Alacrity isn't as good (yet). Lots of weird issues with ANSI. |
Very possible 🤷 |
Debug logs:�[1mVersion:�[0m 9.0.0
�[1mSegments:�[0m
ConsoleTitle(true) - 1 ms - (Admin) ~
session(true) - 0 ms - �[38;2;191;97;106mBrian �[0m
path(true) - 0 ms - �[38;2;129;161;193m~ �[0m
git(false) - 29 ms -
executiontime(false) - 0 ms -
exit(true) - 1 ms - �[38;2;180;142;173m❯ �[0m
�[1mRun duration:�[0m 51.8378ms
�[1mCache path:�[0m ~\AppData\Local\oh-my-posh
�[1mConfig path:�[0m ~\pureCustom.omp.json
�[1mLogs:�[0m
2022/09/08 09:08:01 debug: Getenv
~\AppData\Local
2022/09/08 09:08:01 Getenv duration: 0s, args: LOCALAPPDATA
2022/09/08 09:08:01 CachePath duration: 0s, args:
2022/09/08 09:08:01 debug: Getenv
~\pureCustom.omp.json
2022/09/08 09:08:01 Getenv duration: 0s, args: POSH_THEME
2022/09/08 09:08:01 Shell duration: 12.0652ms, args:
2022/09/08 09:08:01 resolveConfigPath duration: 12.0652ms, args:
2022/09/08 09:08:01 Init duration: 19.1037ms, args:
2022/09/08 09:08:01 Flags duration: 0s, args:
2022/09/08 09:08:01 config.loadConfig duration: 502.9µs, args:
2022/09/08 09:08:01 Flags duration: 0s, args:
2022/09/08 09:08:01 debug: Getenv
2022/09/08 09:08:01 Getenv duration: 0s, args: OMP_CACHE_DISABLED
2022/09/08 09:08:01 WindowsRegistryKeyValue duration: 0s, args: HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 debug: WindowsRegistryKeyValue
ColorizationColor(DWORD): 0xC4363C48
2022/09/08 09:08:01 Root duration: 0s, args:
2022/09/08 09:08:01 Shell duration: 0s, args:
2022/09/08 09:08:01 ErrorCode duration: 0s, args:
2022/09/08 09:08:01 IsWsl duration: 0s, args:
2022/09/08 09:08:01 debug: Pwd
~
2022/09/08 09:08:01 Pwd duration: 503.7µs, args:
2022/09/08 09:08:01 debug: Home
~
2022/09/08 09:08:01 debug: Home
~
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 debug: User
Brian
2022/09/08 09:08:01 User duration: 0s, args:
2022/09/08 09:08:01 debug: Host
Beast-Master-64
2022/09/08 09:08:01 Host duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 TemplateCache duration: 503.7µs, args:
2022/09/08 09:08:01 Flags duration: 0s, args:
2022/09/08 09:08:01 debug: Pwd
~
2022/09/08 09:08:01 Pwd duration: 0s, args:
2022/09/08 09:08:01 debug: Home
~
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 debug: Getenv
2022/09/08 09:08:01 Getenv duration: 0s, args: SSH_CONNECTION
2022/09/08 09:08:01 debug: Getenv
2022/09/08 09:08:01 Getenv duration: 0s, args: SSH_CLIENT
2022/09/08 09:08:01 TemplateCache duration: 0s, args:
2022/09/08 09:08:01 TemplateCache duration: 0s, args:
2022/09/08 09:08:01 Shell duration: 0s, args:
2022/09/08 09:08:01 debug: Pwd
~
2022/09/08 09:08:01 Pwd duration: 0s, args:
2022/09/08 09:08:01 debug: Home
~
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 debug: Pwd
~
2022/09/08 09:08:01 Pwd duration: 0s, args:
2022/09/08 09:08:01 Flags duration: 0s, args:
2022/09/08 09:08:01 debug: Pwd
~
2022/09/08 09:08:01 Pwd duration: 0s, args:
2022/09/08 09:08:01 debug: Home
~
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 PathSeparator duration: 0s, args:
2022/09/08 09:08:01 PathSeparator duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 IsWsl duration: 0s, args:
2022/09/08 09:08:01 StackCount duration: 0s, args:
2022/09/08 09:08:01 DirIsWritable duration: 0s, args:
2022/09/08 09:08:01 TemplateCache duration: 0s, args:
2022/09/08 09:08:01 TemplateCache duration: 0s, args:
2022/09/08 09:08:01 Shell duration: 0s, args:
2022/09/08 09:08:01 Flags duration: 0s, args:
2022/09/08 09:08:01 debug: Pwd
~
2022/09/08 09:08:01 Pwd duration: 0s, args:
2022/09/08 09:08:01 debug: Home
~
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:01 GOOS duration: 0s, args:
2022/09/08 09:08:02 debug: CommandPath
~\scoop\shims\git.exe
2022/09/08 09:08:02 CommandPath duration: 29.7144ms, args: git.exe
2022/09/08 09:08:02 HasCommand duration: 29.7144ms, args: git.exe
2022/09/08 09:08:02 debug: Pwd
~
2022/09/08 09:08:02 Pwd duration: 0s, args:
2022/09/08 09:08:02 error: HasParentFilePath
CreateFile C:\.git: The system cannot find the file specified.
2022/09/08 09:08:02 HasParentFilePath duration: 0s, args: .git
2022/09/08 09:08:02 Flags duration: 0s, args:
2022/09/08 09:08:02 debug: Pwd
~
2022/09/08 09:08:02 Pwd duration: 0s, args:
2022/09/08 09:08:02 debug: Home
~
2022/09/08 09:08:02 GOOS duration: 0s, args:
2022/09/08 09:08:02 ExecutionTime duration: 0s, args:
2022/09/08 09:08:02 Flags duration: 0s, args:
2022/09/08 09:08:02 debug: Pwd
~
2022/09/08 09:08:02 Pwd duration: 0s, args:
2022/09/08 09:08:02 debug: Home
~
2022/09/08 09:08:02 GOOS duration: 0s, args:
2022/09/08 09:08:02 ErrorCode duration: 0s, args:
2022/09/08 09:08:02 TemplateCache duration: 0s, args:
2022/09/08 09:08:02 TemplateCache duration: 0s, args:
2022/09/08 09:08:02 Shell duration: 0s, args:
2022/09/08 09:08:02 TemplateCache duration: 0s, args:
2022/09/08 09:08:02 debug: Getenv
~\AppData\Local
2022/09/08 09:08:02 Getenv duration: 0s, args: LOCALAPPDATA
2022/09/08 09:08:02 CachePath duration: 503.7µs, args:
2022/09/08 09:08:02 Flags duration: 0s, args: |
@brian6932 fzf is responsible for adjusting the layout again so I'm not yet convinced this bug is on our end. We don't do anything but print a string. We've seen this with git as well before, but it's always that executable which is ruining the ANSI rendering (or interpretation) due to unknown reasons |
Well if you think that's the cause, I'll open an issue in https://github.com/kelleyma49/PSFzf as well |
@brian6932 do you happen to have a transient prompt? If you, please comment out that part and reload the shell to see if it still occurs. |
@JanDeDobbeleer nah I've disabled that |
It's probably a PSFzf related bug. I use only the fzf executable and don't get the bug. |
Closing this as there's nothing we can do on our end. |
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. |
Code of Conduct
What happened?
I activated fzf, and it broke my theme (hard to reproduce)
![image](https://user-images.githubusercontent.com/18603393/188992637-ba22fec6-f49a-44fc-8e4e-f22e428d3e92.png)
Theme:
Pure
Term:
alacritty 0.10.1 (2844606)
OS:
Windows 10
Shell:
PowerShell 7.3.0-preview.7
Log output:
The text was updated successfully, but these errors were encountered: