JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
17.39k stars 2.38k forks source link

Ctrl+C broken in Powershell on Konsole (Linux) with ` "shell_integration": true ` #4649

Closed helpimnotdrowning closed 9 months ago

helpimnotdrowning commented 9 months ago

Code of Conduct

What happened?

I read in the docs that using "shell_integration": true in the theme file would enable some sort of shell integration (I was curious about what the option could do, I read somewhere later that it was apparently specific to some context menus in Windows Terminal, but I can't find the text anymore). Instead, I can no longer use Ctrl+C to stop programs or quit a line; this also persists to inner SSH sessions. (workaround: Ctrl+Shift+C)

This issue seemingly only affects KDE's built-in Konsole. Ctrl+C functions normally in the two other terminal emulator programs I currently have installed (XTerm/UXTerm, Zutty)

Removing the option fixed the issue.

Using:

Theme

kyoto.omp.json, line 100 is the offending shell_integration option.

What OS are you seeing the problem on?

Linux

Which shell are you using?

powershell

Log output

Version: 19.8.2

Shell: pwsh (7.4.1)

Prompt:

[ helpimnotdrowning@NIXYEVA] [ 0ss] [ 2024-01-XX 00:11:02 XXX]
├[~]
└る> 

Segments:

ConsoleTitle(true)                         -   0 ms
Session(true)                              -   3 ms
Executiontime(true)                        -   0 ms
Time(true)                                 -   0 ms
Git(false)                                 -   0 ms
Aws(false)                                 -   0 ms
Kubectl(false)                             -   1 ms
Exit(false)                                -   0 ms
Path(true)                                 -   0 ms
Text(true)                                 -   0 ms

Run duration: 9.504142ms

Cache path: /home/helpimnotdrowning/.cache/oh-my-posh

Config path: /etc/net.helpimnotdrowning/dotfiles/omp/kyoto.omp.json

Logs:

[DEBUG] 00:11:02.305 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.305 shell.go:Getenv(TERM_PROGRAM) - 1.575969ms
[DEBUG] 00:11:02.305 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.305 shell.go:Getenv(OMP_CACHE_DIR) - 2.715µs
[DEBUG] 00:11:02.305 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.305 shell.go:Getenv(XDG_CACHE_HOME) - 1.673µs
[TRACE] 00:11:02.305 shell_unix.go:CachePath() - 19.687µs
[DEBUG] 00:11:02.305 shell.go:Getenv:399 → /etc/net.helpimnotdrowning/dotfiles/omp/kyoto.omp.json
[TRACE] 00:11:02.305 shell.go:Getenv(POSH_THEME) - 2.785µs
[DEBUG] 00:11:02.305 shell_unix.go:Platform:77 → debian
[TRACE] 00:11:02.305 shell.go:resolveConfigPath() - 17.272µs
[TRACE] 00:11:02.305 shell.go:Init() - 1.853962ms
[TRACE] 00:11:02.305 shell.go:Flags() - 30ns
[TRACE] 00:11:02.306 config.go:loadConfig() - 771.583µs
[TRACE] 00:11:02.306 shell.go:Flags() - 80ns
[DEBUG] 00:11:02.306 shell.go:Shell:662 → no shell name provided in flags, trying to detect it
[DEBUG] 00:11:02.308 shell.go:Shell:670 → process name: pwsh
[TRACE] 00:11:02.308 shell.go:Shell() - 1.748032ms
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.308 shell.go:Getenv(OMP_CACHE_DISABLED) - 1.873µs
[TRACE] 00:11:02.308 shell.go:Shell() - 40ns
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → 7.4.1
[TRACE] 00:11:02.308 shell.go:Getenv(POSH_SHELL_VERSION) - 1.513µs
[DEBUG] 00:11:02.308 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 00:11:02.308 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 00:11:02.308 shell_unix.go:Root() - 501ns
[TRACE] 00:11:02.308 shell.go:Shell() - 20ns
[TRACE] 00:11:02.308 shell.go:StatusCodes() - 40ns
[DEBUG] 00:11:02.308 shell_unix.go:IsWsl:35 → false
[TRACE] 00:11:02.308 shell_unix.go:IsWsl() - 7.884µs
[DEBUG] 00:11:02.308 shell.go:TemplateCache:843 → environment: [XDG_SESSION_CLASS=user XDG_SEAT=seat0 POSH_GIT_ENABLED=False XDG_RUNTIME_DIR=/run/user/1000 KDE_SESSION_UID=1000 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 KONSOLE_DBUS_SESSION=/Sessions/4 KDE_FULL_SESSION=true LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90: MANAGERPID=3144 SHLVL=1 XDG_VTNR=7 SHELL=/bin/bash GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/helpimnotdrowning/.gtkrc-2.0:/home/helpimnotdrowning/.config/gtkrc-2.0 POSH_AZURE_ENABLED=False PROFILEHOME= COLORFGBG=15;0 XDG_CURRENT_DESKTOP=KDE GTK_MODULES=gail:atk-bridge XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_ID=3 XAUTHORITY=/home/helpimnotdrowning/.Xauthority XDG_CONFIG_DIRS=/home/helpimnotdrowning/.config/kdedefaults:/etc/xdg:/usr/share/desktop-base/kf5-settings GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 SHELL_SESSION_ID=2b0dc8876ac34491aa8387db17cccf6d PATH=/opt/microsoft/powershell/7:/home/helpimnotdrowning/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/helpimnotdrowning/.local/bin:/home/helpimnotdrowning/.local/bin QT_AUTO_SCREEN_SCALE_FACTOR=0 XDG_SESSION_TYPE=x11 KONSOLE_VERSION=221203 QT_ACCESSIBILITY=1 POSH_THEME=/etc/net.helpimnotdrowning/dotfiles/omp/kyoto.omp.json CONDA_PROMPT_MODIFIER=False POWERLINE_COMMAND=oh-my-posh POSH_PID=136561 QT_SCREEN_SCALE_FACTORS=eDP=1.5;DisplayPort-0=1.5;DisplayPort-1=1.5;DisplayPort-2=1.5;DisplayPort-3=1.5;DisplayPort-4=1.5;DisplayPort-5=1.5;DisplayPort-6=1.5;DisplayPort-7=1.5; USER=helpimnotdrowning LANG=en_US.UTF-8 SESSION_MANAGER=local/NIXYEVA:@/tmp/.ICE-unix/3369,unix/NIXYEVA:/tmp/.ICE-unix/3369 SSH_AGENT_PID=3276 XCURSOR_THEME=breeze_cursors XDG_SESSION_DESKTOP=KDE _=/usr/bin/pwsh KONSOLE_DBUS_WINDOW=/Windows/1 SSH_AUTH_SOCK=/tmp/ssh-XXXXXX1Sd50b/agent.3172 WINDOWID=104857613 GTK_RC_FILES=/etc/gtk/gtkrc:/home/helpimnotdrowning/.gtkrc:/home/helpimnotdrowning/.config/gtkrc COLORTERM=truecolor DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus KDE_SESSION_VERSION=5 INVOCATION_ID=01b8f6556c96442f8da340f495993638 LOGNAME=helpimnotdrowning XDG_DATA_DIRS=/home/helpimnotdrowning/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share DISPLAY=:0 POSH_CURSOR_COLUMN=1 KDE_APPLICATIONS_AS_SCOPE=1 PWD=/home/helpimnotdrowning POSH_CURSOR_LINE=23 JOURNAL_STREAM=8:47317 SYSTEMD_EXEC_PID=3451 POSH_SHELL_VERSION=7.4.1 LANGUAGE= HOME=/home/helpimnotdrowning KONSOLE_DBUS_SERVICE=:1.102 DESKTOP_SESSION=plasma XCURSOR_SIZE=24 PSModulePath=/home/helpimnotdrowning/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules TERM=xterm-256color QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/]
[TRACE] 00:11:02.308 shell.go:GOOS() - 31ns
[DEBUG] 00:11:02.308 shell.go:Pwd:429 → /home/helpimnotdrowning
[TRACE] 00:11:02.308 shell.go:Pwd() - 10.489µs
[TRACE] 00:11:02.308 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 31ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 30ns
[DEBUG] 00:11:02.308 shell.go:User:564 → helpimnotdrowning
[TRACE] 00:11:02.308 shell.go:User() - 2.114µs
[DEBUG] 00:11:02.308 shell.go:Host:576 → NIXYEVA
[TRACE] 00:11:02.308 shell.go:Host() - 3.798µs
[TRACE] 00:11:02.308 shell.go:GOOS() - 20ns
[DEBUG] 00:11:02.308 shell_unix.go:Platform:77 → debian
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → 1
[TRACE] 00:11:02.308 shell.go:Getenv(SHLVL) - 1.463µs
[TRACE] 00:11:02.308 shell.go:TemplateCache() - 104.046µs
[TRACE] 00:11:02.308 shell.go:StatusCodes() - 30ns
[TRACE] 00:11:02.308 shell.go:Flags() - 20ns
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → 23
[TRACE] 00:11:02.308 shell.go:Getenv(POSH_CURSOR_LINE) - 1.924µs
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → 1
[TRACE] 00:11:02.308 shell.go:Getenv(POSH_CURSOR_COLUMN) - 1.483µs
[TRACE] 00:11:02.308 shell.go:Flags() - 30ns
[TRACE] 00:11:02.308 shell.go:Flags() - 30ns
[TRACE] 00:11:02.308 shell.go:Shell() - 30ns
[TRACE] 00:11:02.308 shell.go:Shell() - 20ns
[TRACE] 00:11:02.308 shell.go:Flags() - 30ns
[DEBUG] 00:11:02.308 properties.go:GetString:28 → {{ .Code }}
[TRACE] 00:11:02.308 shell.go:Pwd() - 60ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 40ns
[DEBUG] 00:11:02.308 segment.go:SetEnabled:518 → Segment: Exit
[TRACE] 00:11:02.308 shell.go:StatusCodes() - 551ns
[DEBUG] 00:11:02.308 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 00:11:02.308 shell.go:Flags() - 331ns
[TRACE] 00:11:02.308 shell.go:Flags() - 330ns
[TRACE] 00:11:02.308 shell.go:Pwd() - 230ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 100ns
[DEBUG] 00:11:02.308 segment.go:SetEnabled:518 → Segment: Time
[TRACE] 00:11:02.308 shell.go:Pwd() - 241ns
[DEBUG] 00:11:02.308 properties.go:GetString:28 → 2006-01-02 15:04:05 MST
[TRACE] 00:11:02.308 shell.go:GOOS() - 101ns
[TRACE] 00:11:02.308 shell.go:Flags() - 80ns
[TRACE] 00:11:02.308 shell.go:TemplateCache() - 240ns
[TRACE] 00:11:02.308 shell.go:Pwd() - 70ns
[TRACE] 00:11:02.308 shell.go:GOOS() - 40ns
[DEBUG] 00:11:02.308 segment.go:SetEnabled:518 → Segment: Aws
[DEBUG] 00:11:02.308 segment.go:SetEnabled:518 → Segment: Session
[TRACE] 00:11:02.308 shell.go:Flags() - 60ns
[DEBUG] 00:11:02.308 properties.go:GetBool:22 → display_default: true
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.308 shell.go:Getenv(AWS_VAULT) - 3.416µs
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → NO DATA
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.308 shell.go:Getenv(AWS_DEFAULT_PROFILE) - 2.905µs
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.308 shell.go:Pwd() - 70ns
[TRACE] 00:11:02.308 shell.go:Getenv(AWS_PROFILE) - 1.673µs
[TRACE] 00:11:02.308 shell.go:GOOS() - 60ns
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.308 shell.go:Getenv(SSH_CONNECTION) - 21.25µs
[TRACE] 00:11:02.308 shell.go:Getenv(AWS_REGION) - 2.074µs
[DEBUG] 00:11:02.308 segment.go:SetEnabled:518 → Segment: Executiontime
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.308 shell.go:Getenv(AWS_DEFAULT_REGION) - 2.134µs
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → NO DATA
[DEBUG] 00:11:02.308 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.308 shell.go:Getenv(AWS_CONFIG_FILE) - 3.056µs
[DEBUG] 00:11:02.308 properties.go:GetBool:22 → always_enabled: false
[TRACE] 00:11:02.308 shell.go:Getenv(SSH_CLIENT) - 5.781µs
[TRACE] 00:11:02.308 shell.go:ExecutionTime() - 91ns
[DEBUG] 00:11:02.308 properties.go:GetFloat64:34 → threshold: 0.000000
[ERROR] 00:11:02.308 shell.go:FileContent:534 → open /home/helpimnotdrowning/.aws/config: no such file or directory
[DEBUG] 00:11:02.308 shell_unix.go:Platform:77 → debian
[DEBUG] 00:11:02.308 properties.go:GetString:28 → amarillo
[TRACE] 00:11:02.308 shell.go:Flags() - 120ns
[TRACE] 00:11:02.308 shell.go:TemplateCache() - 170ns
[DEBUG] 00:11:02.308 properties.go:GetBool:22 → always_enabled: false
[TRACE] 00:11:02.309 shell.go:TemplateCache() - 551ns
[TRACE] 00:11:02.309 shell.go:Pwd() - 160ns
[TRACE] 00:11:02.309 shell.go:GOOS() - 81ns
[DEBUG] 00:11:02.309 segment.go:SetEnabled:518 → Segment: Git
[DEBUG] 00:11:02.309 shell_unix.go:IsWsl:35 → false
[TRACE] 00:11:02.309 shell_unix.go:IsWsl() - 14.126µs
[TRACE] 00:11:02.309 shell_unix.go:IsWsl2() - 20.73µs
[TRACE] 00:11:02.309 shell.go:GOOS() - 50ns
[TRACE] 00:11:02.308 shell.go:FileContent(/home/helpimnotdrowning/.aws/config) - 14.728µs
[DEBUG] 00:11:02.309 shell.go:CommandPath:615 → /usr/bin/git
[TRACE] 00:11:02.309 shell.go:CommandPath(git) - 56.546µs
[TRACE] 00:11:02.309 shell.go:HasCommand(git) - 60.514µs
[TRACE] 00:11:02.309 shell.go:Pwd() - 90ns
[TRACE] 00:11:02.309 shell.go:Flags() - 321ns
[ERROR] 00:11:02.309 shell.go:HasParentFilePath:758 → stat .git: no such file or directory
[TRACE] 00:11:02.309 shell.go:HasParentFilePath(.git) - 73.348µs
[DEBUG] 00:11:02.309 properties.go:GetBool:22 → fetch_bare_info: false
[TRACE] 00:11:02.309 shell.go:Pwd() - 340ns
[TRACE] 00:11:02.309 shell.go:GOOS() - 250ns
[DEBUG] 00:11:02.309 segment.go:SetEnabled:518 → Segment: Kubectl
[DEBUG] 00:11:02.309 properties.go:GetBool:22 → parse_kubeconfig: false
[ERROR] 00:11:02.309 shell.go:CommandPath:618 → exec: "kubectl": executable file not found in $PATH
[TRACE] 00:11:02.309 shell.go:CommandPath(kubectl) - 89.769µs
[TRACE] 00:11:02.310 shell.go:HasCommand(kubectl) - 96.372µs
[DEBUG] 00:11:02.312 shell.go:RunCommand:594 → NO DATA
[TRACE] 00:11:02.312 shell.go:RunCommand(who am i) - 3.699819ms
[TRACE] 00:11:02.312 shell.go:TemplateCache() - 111ns
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template: [{{if .Root}}<cyan>⚡</>{{else}}<white></> {{end}}{{ .UserName }}@<{{.Env.net_helpimnotdrowning_HostnameColor}}>{{ .HostName }}</>]
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template:  [<white></> {{ .FormattedMs }}s]
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template:  [<white></> {{ .CurrentDate | date .Format }}]
[TRACE] 00:11:02.312 shell.go:TemplateCache() - 150ns
[TRACE] 00:11:02.312 shell.go:TemplateCache() - 50ns
[TRACE] 00:11:02.312 shell.go:TemplateCache() - 210ns
[TRACE] 00:11:02.312 shell.go:Shell() - 141ns
[TRACE] 00:11:02.312 shell.go:Shell() - 60ns
[TRACE] 00:11:02.312 shell.go:Shell() - 60ns
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:11:02.312 text.go:Render:70 → Rendering template: powerline
[TRACE] 00:11:02.312 shell.go:Shell() - 41ns
[TRACE] 00:11:02.312 shell.go:Shell() - 20ns
[TRACE] 00:11:02.312 shell.go:Shell() - 40ns
[TRACE] 00:11:02.312 shell.go:Flags() - 30ns
[TRACE] 00:11:02.312 shell.go:Pwd() - 20ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[DEBUG] 00:11:02.312 segment.go:SetEnabled:518 → Segment: Path
[TRACE] 00:11:02.312 shell.go:Pwd() - 20ns
[TRACE] 00:11:02.312 shell.go:Shell() - 30ns
[TRACE] 00:11:02.312 shell.go:Flags() - 20ns
[DEBUG] 00:11:02.312 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 00:11:02.312 properties.go:GetString:28 → 
[DEBUG] 00:11:02.312 properties.go:GetString:28 → 
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[DEBUG] 00:11:02.312 properties.go:GetString:28 → ~
[DEBUG] 00:11:02.312 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 00:11:02.312 shell.go:PathSeparator() - 40ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 20ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.312 shell.go:PathSeparator() - 20ns
[TRACE] 00:11:02.312 shell.go:PathSeparator() - 30ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.312 shell.go:PathSeparator() - 40ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.312 shell.go:PathSeparator() - 30ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.312 shell.go:GOOS() - 30ns
[TRACE] 00:11:02.312 shell.go:PathSeparator() - 30ns
[TRACE] 00:11:02.312 shell.go:Pwd() - 30ns
[DEBUG] 00:11:02.312 shell_unix.go:IsWsl:35 → false
[TRACE] 00:11:02.312 shell_unix.go:IsWsl() - 4.478µs
[TRACE] 00:11:02.312 shell.go:StackCount() - 30ns
[TRACE] 00:11:02.312 shell_unix.go:DirIsWritable(/home/helpimnotdrowning) - 12.704µs
[TRACE] 00:11:02.312 shell.go:TemplateCache() - 80ns
[DEBUG] 00:11:02.313 text.go:Render:70 → Rendering template: ├[{{ .Path }}]
[TRACE] 00:11:02.313 shell.go:TemplateCache() - 60ns
[TRACE] 00:11:02.313 shell.go:Shell() - 70ns
[DEBUG] 00:11:02.313 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.313 shell.go:Getenv(TERM_PROGRAM) - 4.449µs
[DEBUG] 00:11:02.313 text.go:Render:70 → Rendering template: plain
[TRACE] 00:11:02.313 shell.go:Shell() - 40ns
[TRACE] 00:11:02.313 shell.go:Shell() - 30ns
[TRACE] 00:11:02.313 shell.go:Shell() - 30ns
[TRACE] 00:11:02.313 shell.go:Flags() - 31ns
[TRACE] 00:11:02.313 shell.go:Pwd() - 30ns
[TRACE] 00:11:02.313 shell.go:GOOS() - 30ns
[DEBUG] 00:11:02.313 segment.go:SetEnabled:518 → Segment: Text
[TRACE] 00:11:02.313 shell.go:TemplateCache() - 31ns
[DEBUG] 00:11:02.313 text.go:Render:70 → Rendering template: └る>
[TRACE] 00:11:02.313 shell.go:Shell() - 30ns
[DEBUG] 00:11:02.313 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.313 shell.go:Getenv(TERM_PROGRAM) - 2.094µs
[DEBUG] 00:11:02.313 text.go:Render:70 → Rendering template: plain
[TRACE] 00:11:02.313 shell.go:Shell() - 31ns
[TRACE] 00:11:02.313 shell.go:Flags() - 30ns
[TRACE] 00:11:02.313 shell.go:Shell() - 30ns
[TRACE] 00:11:02.313 shell.go:Shell() - 30ns
[DEBUG] 00:11:02.313 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.313 shell.go:Getenv(OMP_CACHE_DIR) - 2.956µs
[DEBUG] 00:11:02.313 shell.go:Getenv:399 → NO DATA
[TRACE] 00:11:02.313 shell.go:Getenv(XDG_CACHE_HOME) - 2.184µs
[TRACE] 00:11:02.313 shell_unix.go:CachePath() - 27.161µs
[TRACE] 00:11:02.313 shell.go:Flags() - 20ns
helpimnotdrowning commented 9 months ago

I didn't want to keep re-writing my post, but I have also discovered more things:

JanDeDobbeleer commented 9 months ago

@helpimnotdrowning this is a terminal feature, so enabling it can result in side effects when used in a terminal that doesn't (or not fully) support it. You need to toggle the functionality only when in a terminal that really supports it.

github-actions[bot] commented 5 months ago

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.