Skip to content
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

shell_integration insert "FTCS_COMMAND_START" at wrong place #5933

Closed
1 task done
mrbeardad opened this issue Nov 25, 2024 · 3 comments
Closed
1 task done

shell_integration insert "FTCS_COMMAND_START" at wrong place #5933

mrbeardad opened this issue Nov 25, 2024 · 3 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@mrbeardad
Copy link
Contributor

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

image

The "FTCS_COMMAND_START" should be placed at end of the primary prompt but not transient prompt

Theme

https://github.com/mrbeardad/MyIDE/blob/master/powershell/base16_bear.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 24.8.0

Shell: pwsh (7.4.6)

Prompt:

�]133;D;0��]133;A�鈺攢顐??顐邦偘 �]8;;file:�\D:顐?Repos顐?MyIDE�]8;;\ ?�]8;;https://github.com/mrbeardad/MyIDE�\飷?�]8;;\ 顐爉aster 鈮??~3顐邦偘 飥? 0ms顐?                                                                                                                                                                                                   顐额墻 54% 顐差偛 顧?21:59:53顐?鈺扳攢 鉂澂 

Segments:

ConsoleTitle(true)                         -   0 ms
Os(true)                                   -   0 ms
Root(false)                                -   0 ms
Path(true)                                 -   1 ms
Git(true)                                  -  36 ms
Rust(false)                                -   0 ms
Dotnet(false)                              -   1 ms
Go(false)                                  -   0 ms
Node(false)                                -   0 ms
Python(false)                              -   3 ms
Lua(false)                                 -   0 ms
Executiontime(true)                        -   0 ms
Sysinfo(true)                              -   0 ms
Text(false)                                -   0 ms
Time(true)                                 -   0 ms
Status(true)                               -   0 ms

Run duration: 41.2612ms

Cache path: C:\Users\A\AppData\Local\oh-my-posh

Config path: C:\Users\A\Documents\PowerShell\base16_bear.omp.json

Logs:

�[38;2;191;207;240m[DEBUG] �[38;2;156;231;201m21:59:53.412 �[0mcommand.go:execute:989�[38;2;156;231;201m 鈫?[0m debug mode enabled
�[38;2;191;207;240m[DEBUG] �[38;2;156;231;201m21:59:53.412 �[0mdebug.go:40�[38;2;156;231;201m 鈫?[0m config set using POSH_THEME: C:\Users\A\Documents\PowerShell\base16_bear.omp.json
�[38;2;204;137;214m[TRACE] �[38;2;156;231;201m21:59:53.412 �[0mdebug.go() - �[38;2;156;231;201m0s�[0m
�[38;2;204;137;214m[TRACE] �[38;2;156;231;201m21:59:53.413 �[0mload.go:Load() - �[38;2;156;231;201m1.0835ms�[0m
�[38;2;204;137;214m[TRACE] �[38;2;156;231;201m21:59:53.413 �[0mdebug.go() - �[38;2;156;231;201m1.0835ms�[0m
[DEBUG] 21:59:53.413 debug.go:52 鈫?plain mode enabled
[TRACE] 21:59:53.413 terminal.go() - 502碌s
[DEBUG] 21:59:53.413 terminal.go:59 鈫?loading cache file: C:\Users\A\AppData\Local\oh-my-posh\omp.cache
[TRACE] 21:59:53.413 terminal.go(C:\Users\A\AppData\Local\oh-my-posh\omp.cache) - 0s
[TRACE] 21:59:53.413 terminal.go() - 0s
[DEBUG] 21:59:53.413 terminal.go:59 鈫?loading cache file: C:\Users\A\AppData\Local\oh-my-posh\omp.cache.a3be3f40-590d-4b18-b15f-26adc4b16cd0
[DEBUG] 21:59:53.414 terminal.go:59 鈫?loading cache key: prompt_count_cache
[DEBUG] 21:59:53.414 terminal.go:59 鈫?loading cache key: segment_cache_Os
[DEBUG] 21:59:53.414 terminal.go:59 鈫?loading cache key: template_cache
[TRACE] 21:59:53.414 terminal.go(C:\Users\A\AppData\Local\oh-my-posh\omp.cache.a3be3f40-590d-4b18-b15f-26adc4b16cd0) - 511.6碌s
[TRACE] 21:59:53.414 terminal.go:Init() - 0s
[TRACE] 21:59:53.414 terminal.go() - 0s
[DEBUG] 21:59:53.414 terminal.go:Init:67 鈫?D:\Repos\MyIDE
[TRACE] 21:59:53.414 terminal.go:Init() - 0s
[TRACE] 21:59:53.414 debug.go() - 1.0136ms
[TRACE] 21:59:53.414 init.go:Init() - 0s
[TRACE] 21:59:53.414 cache.go:loadCache() - 0s
[TRACE] 21:59:53.414 cache.go:loadCache() - 0s
[DEBUG] 21:59:53.414 debug.go:61 鈫?terminal program: Windows Terminal
[DEBUG] 21:59:53.414 debug.go:61 鈫?terminal shell: shell
[DEBUG] 21:59:53.414 config.go:MakeColors:56 鈫?NO DATA
[TRACE] 21:59:53.414 config.go:MakeColors(OMP_CACHE_DISABLED) - 0s
[TRACE] 21:59:53.414 colors_windows.go:GetAccentColor(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[DEBUG] 21:59:53.414 colors_windows.go:GetAccentColor:19 鈫?ColorizationColor(DWORD): 0xC41A2F5B
[TRACE] 21:59:53.414 colors.go:SetAccentColor() - 0s
[TRACE] 21:59:53.414 colors.go:MakeColors() - 0s
[TRACE] 21:59:53.414 debug.go:PrintDebug() - 0s
[DEBUG] 21:59:53.414 debug.go:PrintDebug:16 鈫?7.4.6
[TRACE] 21:59:53.414 debug.go:PrintDebug(POSH_SHELL_VERSION) - 0s
[DEBUG] 21:59:53.414 debug.go:72 鈫?segment: Title
[TRACE] 21:59:53.414 engine.go:getTitleTemplateText({{ .Folder }}) - 0s
[TRACE] 21:59:53.414 primary.go:needsPrimaryRightPrompt() - 0s
[TRACE] 21:59:53.414 primary.go:writePrimaryPrompt() - 0s
[TRACE] 21:59:53.414 primary.go:writePrimaryPrompt() - 0s
[DEBUG] 21:59:53.414 terminal.go:CursorPosition:590 鈫?35
[TRACE] 21:59:53.414 terminal.go:CursorPosition(POSH_CURSOR_LINE) - 0s
[DEBUG] 21:59:53.414 terminal.go:CursorPosition:594 鈫?1
[TRACE] 21:59:53.414 terminal.go:CursorPosition(POSH_CURSOR_COLUMN) - 0s
[TRACE] 21:59:53.414 primary.go:writePrimaryPrompt() - 0s
[TRACE] 21:59:53.414 primary.go:writePrimaryPrompt() - 0s
[TRACE] 21:59:53.414 segment.go:Execute() - 0s
[TRACE] 21:59:53.414 segment.go:Execute() - 0s
[TRACE] 21:59:53.414 segment.go:Execute() - 0s
[TRACE] 21:59:53.414 segment.go:Execute() - 0s
[TRACE] 21:59:53.414 segment.go:Execute() - 0s
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.414 terminal.go:DirMatchesOneOf() - 0s
[TRACE] 21:59:53.414 terminal.go:DirMatchesOneOf() - 0s
[TRACE] 21:59:53.414 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.414 segment.go:Execute:109 鈫?segment: Executiontime
[DEBUG] 21:59:53.414 segment.go:Execute:109 鈫?segment: Path
[DEBUG] 21:59:53.414 segment.go:Execute:109 鈫?segment: Os
[DEBUG] 21:59:53.414 segment.go:Execute:111 鈫?no toggles found
[DEBUG] 21:59:53.414 segment.go:Execute:111 鈫?no toggles found
[DEBUG] 21:59:53.414 segment.go:Execute:115 鈫?no cache found for segment:  Root
[DEBUG] 21:59:53.414 segment.go:Execute:111 鈫?no toggles found
[DEBUG] 21:59:53.414 path.go:147 鈫?display_cygpath: false
[TRACE] 21:59:53.414 path.go:setPaths() - 0s
[DEBUG] 21:59:53.414 executiontime.go:Enabled:55 鈫?always_enabled: false
[TRACE] 21:59:53.414 path.go:setPaths() - 0s
[TRACE] 21:59:53.414 executiontime.go:Enabled() - 0s
[TRACE] 21:59:53.414 path.go:setPaths() - 0s
[TRACE] 21:59:53.414 path.go:setPaths() - 0s
[DEBUG] 21:59:53.414 executiontime.go:Enabled:57 鈫?threshold: 0.000000
[DEBUG] 21:59:53.414 executiontime.go:Enabled:61 鈫?austin
[TRACE] 21:59:53.414 path.go:parsePath() - 0s
[DEBUG] 21:59:53.414 language.go:Enabled:118 鈫?extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[DEBUG] 21:59:53.414 language.go:Enabled:119 鈫?folders: []
[DEBUG] 21:59:53.414 language.go:Enabled:126 鈫?home_enabled: false
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.414 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.414 segment.go:Execute:109 鈫?segment: Go
[TRACE] 21:59:53.414 root.go:Enabled() - 0s
[DEBUG] 21:59:53.414 segment.go:Execute:111 鈫?no toggles found
[TRACE] 21:59:53.414 segment.go:Execute() - 0s
[DEBUG] 21:59:53.414 segment.go:Execute:115 鈫?restored segment from cache:  Os
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.414 language.go:Enabled:118 鈫?extensions: [*.go go.mod]
[TRACE] 21:59:53.414 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.414 language.go:Enabled:119 鈫?folders: []
[TRACE] 21:59:53.414 segment.go:Execute() - 0s
[DEBUG] 21:59:53.414 segment.go:Execute:109 鈫?segment: Git
[DEBUG] 21:59:53.414 language.go:Enabled:126 鈫?home_enabled: false
[DEBUG] 21:59:53.414 segment.go:Execute:111 鈫?no toggles found
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.414 language.go:Enabled:138 鈫?files
[TRACE] 21:59:53.414 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.414 segment.go:Execute:109 鈫?segment: Python
[DEBUG] 21:59:53.414 segment.go:Execute:111 鈫?no toggles found
[TRACE] 21:59:53.414 scm.go:hasCommand() - 0s
[DEBUG] 21:59:53.414 path.go:setMappedLocations:557 鈫?mapped_locations_enabled: true
[DEBUG] 21:59:53.414 path.go:setMappedLocations:558 鈫??[DEBUG] 21:59:53.414 python.go:Enabled:56 鈫?environment
[DEBUG] 21:59:53.414 path.go:setMappedLocations:559 鈫??[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.414 clean.go:Clean() - 0s
[DEBUG] 21:59:53.414 language.go:Enabled:118 鈫?extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 21:59:53.414 language.go:Enabled:119 鈫?folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 21:59:53.414 language.go:Enabled:126 鈫?home_enabled: false
[DEBUG] 21:59:53.414 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.414 path.go:normalize() - 0s
[DEBUG] 21:59:53.414 path.go:setMappedLocations:560 鈫??
[DEBUG] 21:59:53.414 python.go:loadContext:64 鈫?fetch_virtual_env: true
[DEBUG] 21:59:53.414 path.go:setMappedLocations:565 鈫?mapped_locations: map[]
[TRACE] 21:59:53.414 clean.go:Clean() - 0s
[TRACE] 21:59:53.414 path.go:normalize() - 0s
[TRACE] 21:59:53.414 clean.go:Clean() - 0s
[TRACE] 21:59:53.414 path.go:normalize() - 0s
[TRACE] 21:59:53.414 path.go:parsePath() - 0s
[TRACE] 21:59:53.414 path.go:parsePath() - 0s
[TRACE] 21:59:53.414 path.go:parsePath() - 0s
[DEBUG] 21:59:53.414 path.go:makeFolderFormatMap:833 鈫?NO DATA
[DEBUG] 21:59:53.414 path.go:setStyle:213 鈫?full
[DEBUG] 21:59:53.414 path.go:colorizePath:734 鈫?cycle: []
[DEBUG] 21:59:53.415 path.go:getFolderSeparator:267 鈫?NO DATA
[DEBUG] 21:59:53.415 path.go:getFolderSeparator:269 鈫??
[DEBUG] 21:59:53.415 path.go:colorizePath:737 鈫?cycle_folder_separator: false
[DEBUG] 21:59:53.415 path.go:colorizePath:738 鈫?%s
[DEBUG] 21:59:53.415 path.go:colorizePath:740 鈫?%s
[DEBUG] 21:59:53.415 path.go:colorizePath:741 鈫?%s
[DEBUG] 21:59:53.415 path.go:colorizePath:742 鈫?%s
[TRACE] 21:59:53.415 path.go:Enabled() - 0s
[TRACE] 21:59:53.415 path.go:Enabled() - 0s
[TRACE] 21:59:53.415 path.go:Enabled() - 0s
[TRACE] 21:59:53.415 segment.go:Execute() - 0s
[TRACE] 21:59:53.415 segment.go:Execute() - 0s
[DEBUG] 21:59:53.415 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.415 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.415 segment.go:Execute:109 鈫?segment: Lua
[DEBUG] 21:59:53.415 segment.go:Execute:111 鈫?no toggles found
[DEBUG] 21:59:53.415 lua.go:Enabled:37 鈫?lua
[DEBUG] 21:59:53.415 language.go:Enabled:118 鈫?extensions: [*.lua *.rockspec]
[DEBUG] 21:59:53.415 language.go:Enabled:119 鈫?folders: [lua]
[DEBUG] 21:59:53.415 language.go:Enabled:126 鈫?home_enabled: false
[DEBUG] 21:59:53.415 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.415 language.go:Enabled:138 鈫?files
[DEBUG] 21:59:53.415 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.415 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.415 segment.go:Execute:109 鈫?segment: Rust
[DEBUG] 21:59:53.415 segment.go:Execute:111 鈫?no toggles found
[DEBUG] 21:59:53.415 language.go:Enabled:118 鈫?extensions: [*.rs Cargo.toml Cargo.lock]
[DEBUG] 21:59:53.415 language.go:Enabled:119 鈫?folders: []
[DEBUG] 21:59:53.415 language.go:Enabled:126 鈫?home_enabled: false
[DEBUG] 21:59:53.415 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.415 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.415 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.415 language.go:Enabled:138 鈫?files
[DEBUG] 21:59:53.415 segment.go:Execute:109 鈫?segment: Node
[TRACE] 21:59:53.415 segment.go:string( {{ .Icon }} ) - 685.9碌s
[DEBUG] 21:59:53.415 segment.go:Execute:111 鈫?no toggles found
[DEBUG] 21:59:53.415 language.go:Enabled:118 鈫?extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 21:59:53.415 language.go:Enabled:119 鈫?folders: []
[DEBUG] 21:59:53.415 language.go:Enabled:126 鈫?home_enabled: false
[DEBUG] 21:59:53.415 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[DEBUG] 21:59:53.415 language.go:Enabled:138 鈫?files
[TRACE] 21:59:53.415 segment.go:resolve(diamond) - 0s
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.go) - 685.9碌s
[DEBUG] 21:59:53.415 node.go:loadContext:48 鈫?fetch_package_manager: false
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(go.mod) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.js) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.cs) - 685.9碌s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.ts) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.csx) - 0s
[TRACE] 21:59:53.415 terminal.go:HasFiles(package.json) - 73.6碌s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.vb) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(.nvmrc) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.sln) - 0s
[TRACE] 21:59:53.415 terminal.go:HasFiles(pnpm-workspace.yaml) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.slnf) - 0s
[TRACE] 21:59:53.415 segment.go:resolve(powerline) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.csproj) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(.pnpmfile.cjs) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(.vue) - 0s
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.vbproj) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.fs) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.fsx) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.fsproj) - 0s
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.lua) - 576.2碌s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(global.json) - 0s
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.rockspec) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[DEBUG] 21:59:53.415 terminal_windows.go:DirIsWritable:216 鈫?current user is member of S-1-5-32-544
[TRACE] 21:59:53.415 terminal.go:HasFiles(*.rs) - 73.6碌s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(Cargo.toml) - 0s
[DEBUG] 21:59:53.415 terminal.go:HasFiles:114 鈫?false
[DEBUG] 21:59:53.415 win32_windows.go:isWriteable:271 鈫?    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 21:59:53.415 language.go:hasLanguageFolders:199 鈫?false
[TRACE] 21:59:53.415 terminal.go:HasFiles(Cargo.lock) - 0s
[TRACE] 21:59:53.415 language.go:hasLanguageFolders(lua) - 0s
[DEBUG] 21:59:53.415 terminal_windows.go:DirIsWritable:216 鈫?user has write access
[TRACE] 21:59:53.415 path.go:Enabled() - 576.2碌s
[TRACE] 21:59:53.415 segment.go:string( {{ path .Path .Location }} ) - 0s
[TRACE] 21:59:53.415 segment.go:resolve(powerline) - 0s
[DEBUG] 21:59:53.418 python.go:pyvenvCfgPrompt:172 鈫?C:\Users\A\scoop\apps\python\current\python.exe
[TRACE] 21:59:53.418 python.go:pyvenvCfgPrompt(python) - 3.3204ms
[DEBUG] 21:59:53.418 python.go:pyvenvCfgPrompt:182 鈫?false
[TRACE] 21:59:53.418 python.go:pyvenvCfgPrompt(pyvenv.cfg) - 0s
[DEBUG] 21:59:53.418 python.go:pyvenvCfgPrompt:186 鈫?false
[TRACE] 21:59:53.418 python.go:pyvenvCfgPrompt(pyvenv.cfg) - 0s
[DEBUG] 21:59:53.418 python.go:loadContext:77 鈫?folder_name_fallback: true
[DEBUG] 21:59:53.418 python.go:loadContext:78 鈫?default_venv_names: [.venv venv]
[DEBUG] 21:59:53.418 python.go:loadContext:85 鈫?NO DATA
[TRACE] 21:59:53.418 python.go:loadContext(VIRTUAL_ENV) - 0s
[DEBUG] 21:59:53.418 python.go:loadContext:85 鈫?NO DATA
[TRACE] 21:59:53.418 python.go:loadContext(CONDA_ENV_PATH) - 0s
[DEBUG] 21:59:53.418 python.go:loadContext:85 鈫?NO DATA
[TRACE] 21:59:53.418 python.go:loadContext(CONDA_DEFAULT_ENV) - 0s
[DEBUG] 21:59:53.420 terminal.go:HasCommand:323 鈫?C:\Users\A\scoop\shims\git.exe
[TRACE] 21:59:53.420 terminal.go:HasCommand(git.exe) - 5.3702ms
[TRACE] 21:59:53.420 scm.go:hasCommand(git.exe) - 5.3702ms
[DEBUG] 21:59:53.420 git.go:shouldDisplay:328 鈫?fetch_bare_info: false
[DEBUG] 21:59:53.420 terminal.go:HasParentFilePath:453 鈫?D:\Repos\MyIDE
[TRACE] 21:59:53.420 terminal.go:HasParentFilePath(D:\Repos\MyIDE) - 0s
[TRACE] 21:59:53.420 git.go:shouldDisplay(.git) - 0s
[DEBUG] 21:59:53.420 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.420 git.go:setDir() - 0s
[TRACE] 21:59:53.420 scm.go:convertToWindowsPath() - 0s
[DEBUG] 21:59:53.420 git.go:Enabled:174 鈫?fetch_user: false
[DEBUG] 21:59:53.420 git.go:Enabled:189 鈫?cli
[DEBUG] 21:59:53.420 git.go:Enabled:194 鈫?fetch_status: true
[DEBUG] 21:59:53.420 git.go:shouldIgnoreStatus:466 鈫?ignore_status: []
[DEBUG] 21:59:53.420 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.420 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.420 git.go:setGitStatus:612 鈫?status_formats: map[]
[DEBUG] 21:59:53.420 git.go:getSwitchMode:911 鈫?untracked_modes: map[]
[DEBUG] 21:59:53.420 git.go:getSwitchMode:911 鈫?ignore_submodules: map[]
[DEBUG] 21:59:53.450 git.go:getGitCommandOutput:663 鈫?    # branch.oid 4e1d7398608c6b31021972c04719445e636b471e
    # branch.head master
    # branch.upstream origin/master
    # branch.ab +0 -0
    1 .M N... 100644 100644 100644 eb45f29eb6813fcaee70680571668bdc05bc31b2 eb45f29eb6813fcaee70680571668bdc05bc31b2 README-zh.md
    1 .M N... 100644 100644 100644 9b35bf1814e0e80d3dde3b652f5beeed085cf5e8 9b35bf1814e0e80d3dde3b652f5beeed085cf5e8 README.md
    1 .M N... 100644 100644 100644 59df5d5e2c099d1f3086e5a1c118f4c88b35e9ab 59df5d5e2c099d1f3086e5a1c118f4c88b35e9ab powershell/Microsoft.PowerShell_profile.ps1
[TRACE] 21:59:53.450 git.go:getGitCommandOutput(git.exe -C D:/Repos/MyIDE --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 30.669ms
[DEBUG] 21:59:53.450 git.go:setGitHEADContext:671 鈫??[DEBUG] 21:59:53.450 scm.go:formatBranch:106 鈫?mapped_branches: map[]
[DEBUG] 21:59:53.450 scm.go:formatBranch:122 鈫?full_branch_path: true
[DEBUG] 21:59:53.450 scm.go:formatBranch:128 鈫?branch_max_length: 0
[DEBUG] 21:59:53.450 git.go:setGitHEADContext:699 鈫?false
[TRACE] 21:59:53.450 git.go:setGitHEADContext(D:\Repos\MyIDE\.git/rebase-merge) - 0s
[DEBUG] 21:59:53.450 git.go:setGitHEADContext:711 鈫?false
[TRACE] 21:59:53.450 git.go:setGitHEADContext(D:\Repos\MyIDE\.git/rebase-apply) - 0s
[DEBUG] 21:59:53.450 git.go:setGitHEADContext:722 鈫??[DEBUG] 21:59:53.450 git.go:hasGitFile:801 鈫?false
[TRACE] 21:59:53.450 git.go:hasGitFile(MERGE_MSG) - 0s
[DEBUG] 21:59:53.450 git.go:hasGitFile:801 鈫?false
[TRACE] 21:59:53.450 git.go:hasGitFile(CHERRY_PICK_HEAD) - 0s
[DEBUG] 21:59:53.450 git.go:hasGitFile:801 鈫?false
[TRACE] 21:59:53.450 git.go:hasGitFile(REVERT_HEAD) - 0s
[DEBUG] 21:59:53.450 git.go:hasGitFile:801 鈫?false
[TRACE] 21:59:53.450 git.go:hasGitFile(sequencer/todo) - 0s
[DEBUG] 21:59:53.450 git.go:485 鈫??[DEBUG] 21:59:53.450 git.go:Enabled:207 鈫?fetch_upstream_icon: true
[DEBUG] 21:59:53.451 git.go:getUpstreamIcon:549 鈫?upstream_icons: map[]
[DEBUG] 21:59:53.451 git.go:getUpstreamIcon:570 鈫??
[TRACE] 21:59:53.451 list.go:Join( {{ url .UpstreamIcon .UpstreamURL }}) - 0s
[TRACE] 21:59:53.451 list.go:Join( {{ .HEAD }}) - 0s
[TRACE] 21:59:53.451 list.go:Join({{ if .BranchStatus }} {{ .BranchStatus }}{{ end }}) - 0s
[TRACE] 21:59:53.451 list.go:Join({{ if .Working.Changed }} 飦?{{ .Working.String }}{{ end }}) - 0s
[TRACE] 21:59:53.451 list.go:Join({{ if .Staging.Changed }} 飦?{{ .Staging.String }}{{ end }}) - 0s
[ERROR] 21:59:53.451 scm.go:FileContents:142 鈫?open D:\Repos\MyIDE\.git/logs/refs/stash: The system cannot find the file specified.
[TRACE] 21:59:53.451 scm.go:FileContents(D:\Repos\MyIDE\.git/logs/refs/stash) - 0s
[TRACE] 21:59:53.451 list.go:Join({{ if gt .StashCount 0 }} 瞽?{{ .StashCount }}{{ end }}) - 0s
[TRACE] 21:59:53.451 list.go:FirstMatch({{ if or (.Working.Changed) (.Staging.Changed) }}lightYellow{{ end }}) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(powerline) - 0s
[TRACE] 21:59:53.451 list.go:FirstMatch({{ if or (.Working.Changed) (.Staging.Changed) }}lightYellow{{ end }}) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(powerline) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(powerline) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(powerline) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(powerline) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(powerline) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(powerline) - 0s
[TRACE] 21:59:53.451 segment.go:string( 飥? {{ .FormattedMs }}) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(diamond) - 0s
[TRACE] 21:59:53.451 list.go:FirstMatch({{ if or (.Working.Changed) (.Staging.Changed) }}lightYellow{{ end }}) - 0s
[TRACE] 21:59:53.451 engine.go:applyPowerShellBleedPatch() - 0s
[TRACE] 21:59:53.451 segment.go:Execute() - 0s
[DEBUG] 21:59:53.451 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.451 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.451 segment.go:Execute:109 鈫?segment: Time
[TRACE] 21:59:53.451 segment.go:Execute() - 0s
[DEBUG] 21:59:53.451 segment.go:Execute:111 鈫?no toggles found
[TRACE] 21:59:53.451 segment.go:Execute() - 0s
[DEBUG] 21:59:53.451 time.go:Enabled:27 鈫?15:04:05
[DEBUG] 21:59:53.451 home.go:Home:26 鈫?C:\Users\A
[DEBUG] 21:59:53.451 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.451 terminal.go:DirMatchesOneOf() - 0s
[TRACE] 21:59:53.451 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.451 segment.go:Execute:109 鈫?segment: Sysinfo
[DEBUG] 21:59:53.451 segment.go:Execute:109 鈫?segment: Text
[DEBUG] 21:59:53.451 segment.go:Execute:111 鈫?no toggles found
[DEBUG] 21:59:53.451 segment.go:Execute:111 鈫?no toggles found
[DEBUG] 21:59:53.451 sysinfo.go:Enabled:25 鈫?precision: 2
[TRACE] 21:59:53.451 segment.go:string(顗?{{ round .PhysicalPercentUsed .Precision }}% ) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(diamond) - 0s
[DEBUG] 21:59:53.451 value.go:call:581 鈫?NO DATA
[TRACE] 21:59:53.451 value.go:call(HTTP_PROXY) - 0s
[TRACE] 21:59:53.451 list.go:FirstMatch({{ if .Env.HTTP_PROXY }} 瞽?{{ .Env.HTTP_PROXY }} {{ end }}) - 0s
[ERROR] 21:59:53.451 text.go:Render:30 鈫?template: cache:1: unexpected "{" in command
[TRACE] 21:59:53.451 list.go:FirstMatch({{ if .Env.HTTPS_PROXY }} 瞽?{{ {{ .Env.HTTPS_PROXY }} {{ end }}) - 0s
[ERROR] 21:59:53.451 text.go:Render:30 鈫?template: cache:1: unexpected "{" in command
[TRACE] 21:59:53.451 list.go:FirstMatch({{ if .Env.ALL_PROXY }} 瞽?{{ {{ .Env.ALL_PROXY }} {{ end }}) - 0s
[TRACE] 21:59:53.451 segment.go:string(  ) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(diamond) - 0s
[TRACE] 21:59:53.451 segment.go:string( 顧?{{ .CurrentDate | date .Format }}) - 0s
[TRACE] 21:59:53.451 segment.go:resolve(diamond) - 0s
[DEBUG] 21:59:53.451 terminal_windows.go:TerminalWidth:99 鈫?terminal width: 272
[TRACE] 21:59:53.451 engine.go:canWriteRightBlock() - 0s
[TRACE] 21:59:53.451 engine.go:applyPowerShellBleedPatch() - 0s
[TRACE] 21:59:53.451 segment.go:Execute() - 0s
[DEBUG] 21:59:53.451 home.go:Home:26 鈫?C:\Users\A
[TRACE] 21:59:53.451 terminal.go:DirMatchesOneOf() - 0s
[DEBUG] 21:59:53.451 segment.go:Execute:109 鈫?segment: Status
[DEBUG] 21:59:53.451 segment.go:Execute:111 鈫?no toggles found
[TRACE] 21:59:53.451 status.go:Enabled() - 0s
[DEBUG] 21:59:53.451 status.go:formatStatus:45 鈫?{{ .Code }}
[TRACE] 21:59:53.451 status.go:formatStatus({{ .Code }}) - 0s
[DEBUG] 21:59:53.451 status.go:Enabled:37 鈫?always_enabled: true
[TRACE] 21:59:53.452 list.go:Join(<darkGray>鈺扳攢</>) - 0s
[TRACE] 21:59:53.452 list.go:Join( {{ if ne .Code 0 }}<lightRed>?/><red>?/>{{ else }}<lightBlue>?/><lightCyan>?/>{{ end }}) - 0s
[TRACE] 21:59:53.452 segment.go:resolve(plain) - 0s
[TRACE] 21:59:53.452 engine.go:applyPowerShellBleedPatch() - 0s
[TRACE] 21:59:53.452 primary.go:writePrimaryPrompt() - 0s
[TRACE] 21:59:53.452 engine.go:pwd() - 0s
[DEBUG] 21:59:53.452 terminal_windows.go:IsCygwin:75 鈫?NO DATA
[TRACE] 21:59:53.452 terminal_windows.go:IsCygwin(OSTYPE) - 0s
[TRACE] 21:59:53.452 engine.go:pwd() - 0s
[TRACE] 21:59:53.452 engine.go:pwd(osc99) - 0s
[DEBUG] 21:59:53.452 engine.go:pwd:107 鈫?A
[TRACE] 21:59:53.452 engine.go:pwd() - 0s
[DEBUG] 21:59:53.452 engine.go:pwd:108 鈫?DESKTOP-MNME636
[TRACE] 21:59:53.452 engine.go:pwd() - 514.2碌s
[TRACE] 21:59:53.452 primary.go:Primary() - 0s
[TRACE] 21:59:53.452 debug.go:PrintDebug() - 0s
[TRACE] 21:59:53.452 debug.go:PrintDebug() - 0s
@mrbeardad mrbeardad added the 🐛 bug Something isn't working label Nov 25, 2024
@JanDeDobbeleer
Copy link
Owner

JanDeDobbeleer commented Nov 25, 2024

@mrbeardad what do you mean? We add that on both so that the anchors stay available for the shell when the prompt reloads?

Scratch that, seems like we do not print it on primary when transient is enabled. But this has a reason. The transient prompt is reloaded BEFORE the command executes, so this is the place for that anchor. Unless we need to add it on both, but if I recall correctly that created really terrible side effects.

@mrbeardad
Copy link
Contributor Author

WT has a new feature Move cursor with the mouse that requires Shell Integration. However, it does not work when enable shell_integration in oh-my-posh. After conducting some research, it works well if I put the "FTCS_COMMAND_START" at the end of primary prompt instead of transient prompt

@JanDeDobbeleer
Copy link
Owner

@mrbeardad I'll adjust that and we'll see how it goes ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants