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

wrong cursor position with zsh+ohmyposh using tmate #6113

Open
1 task done
SuXYIO opened this issue Jan 23, 2025 · 1 comment
Open
1 task done

wrong cursor position with zsh+ohmyposh using tmate #6113

SuXYIO opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels
🐛 bug Something isn't working

Comments

@SuXYIO
Copy link

SuXYIO commented Jan 23, 2025

Code of Conduct

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

What happened?

i use zsh + ohmyposh, and when i use tmate, the cursor position is wrong, it goes to the next line. It still happens when i open up another zsh in the tmate zsh session, but it's normal to bash even if i got ohmyposh configured for bash too.

Image

Theme

My config

What OS are you seeing the problem on?

macOS

Which shell are you using?

zsh

Log output

Version: 22.0.3

Shell: zsh (5.8.1)

Prompt:

    2048ai   main ≡  ?3 ~3 -6  0 

Segments:

ConsoleTitle(true)                         -   5 ms
Os(true)                                   -   3 ms
Path(true)                                 -   5 ms
Git(true)                                  -  19 ms
Status(true)                               -   4 ms
Shell(true)                                -   0 ms
Executiontime(true)                        -   0 ms
Battery(true)                              -  24 ms
Sysinfo(true)                              -   5 ms
Time(true)                                 -   0 ms

Run duration: 75.523186ms

Cache path: /Users/suxy/.cache/oh-my-posh

Config path: /Users/suxy/.config/ohmyposh/config.toml

Logs:

[DEBUG] 17:11:15.028 os.go:Getenv:309 → NO DATA
[TRACE] 17:11:15.028 os.go:Getenv(OMP_CACHE_DIR) - 5.786987ms
[DEBUG] 17:11:15.028 os.go:Getenv:309 → NO DATA
[TRACE] 17:11:15.028 os.go:Getenv(XDG_CACHE_HOME) - 11.452µs
[TRACE] 17:11:15.028 os_unix.go:CachePath() - 5.935072ms
[DEBUG] 17:11:15.032 os.go:Getenv:309 → /Users/suxy/.config/ohmyposh/config.toml
[TRACE] 17:11:15.032 os.go:Getenv(POSH_THEME) - 22.227µs
[DEBUG] 17:11:15.033 os_unix.go:Platform:87 → darwin
[TRACE] 17:11:15.033 os.go:resolveConfigPath() - 1.464104ms
[TRACE] 17:11:15.033 os.go:Init() - 11.074371ms
[TRACE] 17:11:15.035 os.go:Flags() - 113ns
[TRACE] 17:11:15.037 load.go:loadConfig() - 2.259378ms
[TRACE] 17:11:15.037 os.go:Flags() - 390ns
[DEBUG] 17:11:15.037 debug.go:44 → Terminal shell: %s shell
[DEBUG] 17:11:15.037 debug.go:44 → Terminal program: %s Unknown
[DEBUG] 17:11:15.037 os.go:Getenv:309 → NO DATA
[TRACE] 17:11:15.037 os.go:Getenv(OMP_CACHE_DISABLED) - 51.923µs
[DEBUG] 17:11:15.040 os.go:Shell:584 → no shell name provided in flags, trying to detect it
[DEBUG] 17:11:15.040 os.go:Shell:592 → process name: zsh
[TRACE] 17:11:15.040 os.go:Shell() - 1.116677ms
[DEBUG] 17:11:15.040 os.go:Getenv:309 → 5.8.1
[TRACE] 17:11:15.040 os.go:Getenv(POSH_SHELL_VERSION) - 8.55µs
[DEBUG] 17:11:15.040 debug.go:PrintDebug:23 → Segment: Title
[DEBUG] 17:11:15.040 text.go:Render:73 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 17:11:15.041 os_unix.go:Root() - 5.765µs
[TRACE] 17:11:15.041 os.go:Shell() - 1.32µs
[TRACE] 17:11:15.041 os.go:StatusCodes() - 375ns
[DEBUG] 17:11:15.042 os_unix.go:IsWsl:35 → false
[TRACE] 17:11:15.042 os_unix.go:IsWsl() - 1.883253ms
[DEBUG] 17:11:15.043 os.go:TemplateCache:792 → environment: [__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 XPC_SERVICE_NAME=0 XPC_FLAGS=0x0 MANPATH=/usr/local/man:/usr/local/man::/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/Applications/kitty.app/Contents/Resources/man KITTY_WINDOW_ID=1 KITTY_PID=19038 LOGNAME=suxy SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.bsYt7bYVpi/Listeners KITTY_LISTEN_ON=unix:/tmp/kitty-19038 HOME=/Users/suxy PWD=/Users/suxy/Workspace/2048ai USER=suxy PATH=/usr/local/lib/ruby/gems/3.3.0/bin:/usr/local/opt/ruby/bin:/usr/local/Cellar/git/*/bin:/usr/local/lib/ruby/gems/3.3.0/bin:/usr/local/opt/ruby/bin:/Users/suxy/.cargo/bin:/usr/local/Cellar/git/*/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Applications/kitty.app/Contents/MacOS:/usr/local/opt/john-jumbo/share/john:/usr/local/opt/john-jumbo/share/john LANG=en_US.UTF-8 WINDOWID=15160 TERM=xterm-kitty COLORTERM=truecolor KITTY_PUBLIC_KEY=1:jtrcDvwoTbX6Cbs^IKw+EwLfnF#n=Yj>qShlFZ>d __CFBundleIdentifier=net.kovidgoyal.kitty TMPDIR=/var/folders/9q/gg3q1lbj5vgfdxwpv81zq2kc0000gn/T/ TERMINFO=/Applications/kitty.app/Contents/Resources/kitty/terminfo KITTY_INSTALLATION_DIR=/Applications/kitty.app/Contents/Resources/kitty COMMAND_MODE=unix2003 SHELL=/bin/zsh SHLVL=1 OLDPWD=/Users/suxy HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles HOMEBREW_PREFIX=/usr/local HOMEBREW_CELLAR=/usr/local/Cellar HOMEBREW_REPOSITORY=/usr/local/Homebrew INFOPATH=/usr/local/share/info: XDG_CONFIG_HOME=/Users/suxy/.config HISTSIZE=512 SAVEHIST=512 MANPAGER=nvim +Man! GIT=/usr/local/Cellar/git/* RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup AI_PROVIDER=blackboxai GO111MODULE=on GOPROXY=https://goproxy.io HISTORY_SUBSTRING_SEARCH_FUZZY=true POSH_THEME=/Users/suxy/.config/ohmyposh/config.toml POSH_SHELL_VERSION=5.8.1 POSH_PID=19040 POWERLINE_COMMAND=oh-my-posh CONDA_PROMPT_MODIFIER=false POSH_PROMPT_COUNT=35 ZLE_RPROMPT_INDENT=0 EDITOR=nvim HOMEBREW_NO_AUTO_UPDATE=true _=/usr/local/bin/oh-my-posh]
[TRACE] 17:11:15.045 os.go:GOOS() - 152ns
[DEBUG] 17:11:15.045 os.go:Pwd:339 → /Users/suxy/Workspace/2048ai
[TRACE] 17:11:15.045 os.go:Pwd() - 2.069153ms
[DEBUG] 17:11:15.045 os_unix.go:IsWsl:35 → false
[TRACE] 17:11:15.045 os_unix.go:IsWsl() - 423.145µs
[TRACE] 17:11:15.045 os.go:GOOS() - 130ns
[TRACE] 17:11:15.045 os.go:GOOS() - 90ns
[TRACE] 17:11:15.045 os.go:GOOS() - 128ns
[TRACE] 17:11:15.045 os.go:GOOS() - 88ns
[TRACE] 17:11:15.045 os.go:GOOS() - 88ns
[TRACE] 17:11:15.045 os.go:GOOS() - 85ns
[TRACE] 17:11:15.045 os.go:GOOS() - 88ns
[TRACE] 17:11:15.045 os.go:GOOS() - 90ns
[DEBUG] 17:11:15.045 os.go:User:477 → suxy
[TRACE] 17:11:15.045 os.go:User() - 36.205µs
[DEBUG] 17:11:15.045 os.go:Host:494 → SuXY
[TRACE] 17:11:15.045 os.go:Host() - 111.435µs
[TRACE] 17:11:15.045 os.go:GOOS() - 85ns
[DEBUG] 17:11:15.045 os.go:Getenv:309 → 1
[TRACE] 17:11:15.045 os.go:Getenv(SHLVL) - 28.738µs
[TRACE] 17:11:15.045 os.go:TemplateCache() - 4.980938ms
[TRACE] 17:11:15.046 os.go:Shell() - 995ns
[DEBUG] 17:11:15.046 os.go:Getenv:309 → NO DATA
[TRACE] 17:11:15.046 os.go:Getenv(POSH_CURSOR_LINE) - 14.75µs
[DEBUG] 17:11:15.046 os.go:Getenv:309 → NO DATA
[TRACE] 17:11:15.046 os.go:Getenv(POSH_CURSOR_COLUMN) - 14.495µs
[TRACE] 17:11:15.046 os.go:Flags() - 383ns
[TRACE] 17:11:15.046 os.go:Flags() - 85ns
[TRACE] 17:11:15.046 os.go:Flags() - 177ns
[TRACE] 17:11:15.046 os.go:Flags() - 516ns
[TRACE] 17:11:15.047 os.go:Pwd() - 1.945µs
[TRACE] 17:11:15.047 os.go:GOOS() - 295ns
[TRACE] 17:11:15.047 os.go:Flags() - 555ns
[TRACE] 17:11:15.047 os.go:Flags() - 1.55µs
[TRACE] 17:11:15.047 os.go:Pwd() - 1.732µs
[TRACE] 17:11:15.047 os.go:GOOS() - 118ns
[TRACE] 17:11:15.047 os.go:Pwd() - 717ns
[TRACE] 17:11:15.047 os.go:GOOS() - 114ns
[DEBUG] 17:11:15.048 status.go:Init:53 → {{ .Code }}
[DEBUG] 17:11:15.048 segment.go:SetEnabled:115 → Segment: Path
[DEBUG] 17:11:15.048 segment.go:SetEnabled:115 → Segment: Git
[DEBUG] 17:11:15.048 segment.go:SetEnabled:115 → Segment: Os
[TRACE] 17:11:15.048 os.go:Pwd() - 2.11µs
[DEBUG] 17:11:15.048 os_unix.go:IsWsl:35 → false
[TRACE] 17:11:15.048 os_unix.go:IsWsl() - 16.268µs
[TRACE] 17:11:15.048 os_unix.go:IsWsl2() - 26.77µs
[TRACE] 17:11:15.048 os.go:GOOS() - 143ns
[DEBUG] 17:11:15.048 path.go:124 → display_cygpath: false
[DEBUG] 17:11:15.048 segment.go:SetEnabled:115 → Segment: Status
[TRACE] 17:11:15.048 os.go:GOOS() - 220ns
[TRACE] 17:11:15.048 os.go:StatusCodes() - 385ns
[TRACE] 17:11:15.048 os.go:Pwd() - 414ns
[DEBUG] 17:11:15.048 text.go:Render:73 → Rendering template: {{ .Code }}
[TRACE] 17:11:15.048 os.go:GOOS() - 140ns
[TRACE] 17:11:15.048 os.go:Shell() - 349ns
[TRACE] 17:11:15.048 os.go:Shell() - 118ns
[DEBUG] 17:11:15.048 path.go:replaceMappedLocations:517 → mapped_locations_enabled: true
[DEBUG] 17:11:15.048 path.go:replaceMappedLocations:518 → 
[DEBUG] 17:11:15.048 path.go:replaceMappedLocations:519 → 
[TRACE] 17:11:15.049 os.go:GOOS() - 124ns
[DEBUG] 17:11:15.049 path.go:replaceMappedLocations:520 → ~
[DEBUG] 17:11:15.049 path.go:replaceMappedLocations:525 → mapped_locations: map[]
[DEBUG] 17:11:15.049 os.go:CommandPath:536 → /usr/local/bin/git
[TRACE] 17:11:15.049 os.go:CommandPath(git) - 203.178µs
[TRACE] 17:11:15.049 os.go:HasCommand(git) - 214.123µs
[TRACE] 17:11:15.049 os.go:Pwd() - 292ns
[TRACE] 17:11:15.049 os.go:Flags() - 247ns
[TRACE] 17:11:15.049 os.go:Pwd() - 273ns
[TRACE] 17:11:15.049 os.go:GOOS() - 115ns
[DEBUG] 17:11:15.049 segment.go:SetEnabled:115 → Segment: Root
[DEBUG] 17:11:15.050 os.go:ResolveSymlink:436 → /Users/suxy/Workspace/2048ai
[TRACE] 17:11:15.050 os.go:ResolveSymlink(/Users/suxy/Workspace/2048ai) - 1.744281ms
[TRACE] 17:11:15.050 os.go:GOOS() - 245ns
[DEBUG] 17:11:15.050 os.go:Enabled:36 → 
[TRACE] 17:11:15.050 os.go:TemplateCache() - 669ns
[TRACE] 17:11:15.050 os.go:HasParentFilePath(.git) - 1.807964ms
[TRACE] 17:11:15.050 os_unix.go:Root() - 2.644µs
[DEBUG] 17:11:15.050 scm.go:shouldIgnoreRootRepository:130 → exclude_folders: []
[TRACE] 17:11:15.050 os.go:GOOS() - 86ns
[TRACE] 17:11:15.050 os.go:GOOS() - 75ns
[TRACE] 17:11:15.050 os.go:TemplateCache() - 244ns
[DEBUG] 17:11:15.050 git.go:Enabled:167 → fetch_user: false
[TRACE] 17:11:15.050 os.go:GOOS() - 80ns
[TRACE] 17:11:15.050 os.go:GOOS() - 76ns
[TRACE] 17:11:15.050 os.go:GOOS() - 57ns
[TRACE] 17:11:15.050 os.go:GOOS() - 57ns
[TRACE] 17:11:15.050 os.go:GOOS() - 47ns
[DEBUG] 17:11:15.050 status.go:Enabled:42 → always_enabled: true
[TRACE] 17:11:15.050 os.go:GOOS() - 76ns
[TRACE] 17:11:15.050 os.go:GOOS() - 46ns
[TRACE] 17:11:15.050 os.go:TemplateCache() - 328ns
[TRACE] 17:11:15.051 os.go:GOOS() - 123ns
[TRACE] 17:11:15.051 os.go:GOOS() - 108ns
[DEBUG] 17:11:15.052 os.go:Getenv:309 → NO DATA
[DEBUG] 17:11:15.052 path.go:makeFolderFormatMap:841 → NO DATA
[DEBUG] 17:11:15.052 path.go:setStyle:192 → folder
[TRACE] 17:11:15.052 os.go:Getenv(POSH_GIT_STATUS) - 1.146248ms
[TRACE] 17:11:15.052 os.go:GOOS() - 139ns
[TRACE] 17:11:15.052 os.go:GOOS() - 50ns
[TRACE] 17:11:15.052 os.go:GOOS() - 75ns
[DEBUG] 17:11:15.052 git.go:Enabled:186 → fetch_status: true
[TRACE] 17:11:15.052 os.go:GOOS() - 59ns
[TRACE] 17:11:15.052 os.go:GOOS() - 76ns
[TRACE] 17:11:15.052 os.go:GOOS() - 49ns
[TRACE] 17:11:15.052 os.go:GOOS() - 60ns
[DEBUG] 17:11:15.052 path.go:getFolderSeparator:250 → NO DATA
[DEBUG] 17:11:15.052 path.go:getFolderSeparator:252 → /
[TRACE] 17:11:15.052 os.go:GOOS() - 119ns
[TRACE] 17:11:15.052 os.go:Pwd() - 239ns
[TRACE] 17:11:15.052 os.go:TemplateCache() - 223ns
[TRACE] 17:11:15.052 os.go:StackCount() - 89ns
[DEBUG] 17:11:15.052 git.go:setGitStatus:549 → status_formats: map[]
[TRACE] 17:11:15.052 os_unix.go:DirIsWritable(/Users/suxy/Workspace/2048ai) - 32.457µs
[TRACE] 17:11:15.052 os.go:TemplateCache() - 201ns
[DEBUG] 17:11:15.052 git.go:getSwitchMode:850 → untracked_modes: map[]
[DEBUG] 17:11:15.052 git.go:getSwitchMode:850 → ignore_submodules: map[]
[DEBUG] 17:11:15.064 os.go:RunCommand:514 ↓
    # branch.oid efef5624c665149a5a27348fe054b3edf1206bef
    # branch.head main
    # branch.upstream origin/main
    # branch.ab +0 -0
    1 .M N... 100644 100644 100644 42e897223f49acfad8a395d895b59abb78392073 42e897223f49acfad8a395d895b59abb78392073 README.md
    1 .M N... 100644 100644 100644 58eb37334d9f2a71e36ede89fc3e4a0a3b492e29 58eb37334d9f2a71e36ede89fc3e4a0a3b492e29 agentnn.py
    1 .M N... 100644 100644 100644 baf1404fba0c12b4a6f6af4be8f06d87c6d4de9b baf1404fba0c12b4a6f6af4be8f06d87c6d4de9b network.py
    1 .D N... 100644 100644 000000 56e61b87629f2f95db7d225bb25e52ccaacad2be 56e61b87629f2f95db7d225bb25e52ccaacad2be saves/gamefnn0_512gen.pth
    1 .D N... 100644 100644 000000 1769a37cae80f3cd3267e2c49e97a612ee44638b 1769a37cae80f3cd3267e2c49e97a612ee44638b saves/gamefnn1_512gen.pth
    1 .D N... 100644 100644 000000 19a40f3d4907dc20b3d00f697f5d3bc4b61d3735 19a40f3d4907dc20b3d00f697f5d3bc4b61d3735 saves/gamefnn2_512gen.pth
    1 .D N... 100644 100644 000000 1eb964ed08abaa93eaed98e965f94045d37b8ab7 1eb964ed08abaa93eaed98e965f94045d37b8ab7 templates/gamefnn0_template
    1 .D N... 100644 100644 000000 2e476ea478c5d4f3863727b3b078d0b0b1be464e 2e476ea478c5d4f3863727b3b078d0b0b1be464e templates/gamefnn2_template
    1 .D N... 100644 100644 000000 4f60dea2ccaf1314b063ff5ec592a0923f81207b 4f60dea2ccaf1314b063ff5ec592a0923f81207b train.py
    ? templates/gamecnn0_template
    ? traindqn.py
    ? trainevo.py
[TRACE] 17:11:15.064 os.go:RunCommand(git -C /Users/suxy/Workspace/2048ai --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 12.646691ms
[DEBUG] 17:11:15.065 git.go:setGitHEADContext:601 → 
[DEBUG] 17:11:15.065 git.go:formatHEAD:724 → branch_max_length: 0
[DEBUG] 17:11:15.065 os.go:HasFolder:421 → false
[TRACE] 17:11:15.065 os.go:HasFolder(/Users/suxy/Workspace/2048ai/.git/rebase-merge) - 19.889µs
[DEBUG] 17:11:15.065 os.go:HasFolder:421 → false
[TRACE] 17:11:15.065 os.go:HasFolder(/Users/suxy/Workspace/2048ai/.git/rebase-apply) - 6.703µs
[DEBUG] 17:11:15.065 git.go:setGitHEADContext:652 → 
[DEBUG] 17:11:15.066 os.go:HasFilesInDir:392 → false
[TRACE] 17:11:15.066 os.go:HasFilesInDir(MERGE_MSG) - 1.292805ms
[DEBUG] 17:11:15.066 os.go:HasFilesInDir:392 → false
[TRACE] 17:11:15.066 os.go:HasFilesInDir(CHERRY_PICK_HEAD) - 15.445µs
[DEBUG] 17:11:15.066 os.go:HasFilesInDir:392 → false
[TRACE] 17:11:15.066 os.go:HasFilesInDir(REVERT_HEAD) - 8.041µs
[DEBUG] 17:11:15.066 os.go:HasFilesInDir:392 → false
[TRACE] 17:11:15.066 os.go:HasFilesInDir(sequencer/todo) - 7.384µs
[DEBUG] 17:11:15.066 git.go:432 → ≡
[DEBUG] 17:11:15.066 git.go:Enabled:197 → fetch_upstream_icon: true
[DEBUG] 17:11:15.066 git.go:getUpstreamIcon:488 → upstream_icons: map[]
[DEBUG] 17:11:15.066 git.go:getUpstreamIcon:509 → 
[TRACE] 17:11:15.066 os.go:TemplateCache() - 3.243µs
[DEBUG] 17:11:15.066 text.go:Render:73 → Rendering template:  {{ .String }}
[DEBUG] 17:11:15.066 text.go:Render:73 → Rendering template:   {{ .Path }}
[DEBUG] 17:11:15.066 text.go:Render:73 → Rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}}
[DEBUG] 17:11:15.066 text.go:Render:73 → Rendering template:  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}
[TRACE] 17:11:15.067 os.go:TemplateCache() - 399ns
[TRACE] 17:11:15.067 os.go:TemplateCache() - 330ns
[TRACE] 17:11:15.067 os.go:TemplateCache() - 493ns
[TRACE] 17:11:15.067 os.go:TemplateCache() - 164ns
[DEBUG] 17:11:15.067 text.go:Render:73 → Rendering template: powerline
[DEBUG] 17:11:15.067 text.go:Render:73 → Rendering template: diamond
[DEBUG] 17:11:15.067 text.go:Render:73 → Rendering template: diamond
[DEBUG] 17:11:15.067 text.go:Render:73 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:deepgreen{{ end }}
[TRACE] 17:11:15.069 os.go:TemplateCache() - 840ns
[DEBUG] 17:11:15.069 text.go:Render:73 → Rendering template: powerline
[DEBUG] 17:11:15.069 text.go:Render:73 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:deepgreen{{ end }}
[TRACE] 17:11:15.069 os.go:TemplateCache() - 797ns
[DEBUG] 17:11:15.069 text.go:Render:73 → Rendering template: {{ if gt .Code 0 }}p:deepred{{ end }}
[TRACE] 17:11:15.070 os.go:TemplateCache() - 236ns
[DEBUG] 17:11:15.070 text.go:Render:73 → Rendering template: diamond
[DEBUG] 17:11:15.070 text.go:Render:73 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:deepgreen{{ end }}
[TRACE] 17:11:15.070 os.go:TemplateCache() - 649ns
[DEBUG] 17:11:15.070 text.go:Render:73 → Rendering template: {{ if gt .Code 0 }}p:deepred{{ end }}
[TRACE] 17:11:15.070 os.go:TemplateCache() - 712ns
[TRACE] 17:11:15.070 os.go:Shell() - 632ns
[TRACE] 17:11:15.070 os.go:Shell() - 57ns
[TRACE] 17:11:15.070 os.go:Flags() - 90ns
[TRACE] 17:11:15.070 os.go:Pwd() - 208ns
[TRACE] 17:11:15.070 os.go:GOOS() - 78ns
[DEBUG] 17:11:15.070 segment.go:SetEnabled:115 → Segment: Time
[DEBUG] 17:11:15.071 time.go:Enabled:29 → 15:04:05
[TRACE] 17:11:15.071 os.go:TemplateCache() - 183ns
[TRACE] 17:11:15.071 os.go:Flags() - 47ns
[TRACE] 17:11:15.071 os.go:Flags() - 321ns
[TRACE] 17:11:15.071 os.go:Pwd() - 122ns
[TRACE] 17:11:15.071 os.go:GOOS() - 93ns
[DEBUG] 17:11:15.071 segment.go:SetEnabled:115 → Segment: Battery
[TRACE] 17:11:15.071 os.go:Flags() - 173ns
[TRACE] 17:11:15.071 os.go:Pwd() - 260ns
[DEBUG] 17:11:15.071 os_unix.go:IsWsl:35 → false
[TRACE] 17:11:15.071 os.go:GOOS() - 104ns
[TRACE] 17:11:15.071 os_unix.go:IsWsl() - 15.619µs
[TRACE] 17:11:15.071 os.go:Pwd() - 176ns
[TRACE] 17:11:15.071 os.go:Flags() - 174ns
[DEBUG] 17:11:15.071 segment.go:SetEnabled:115 → Segment: Executiontime
[TRACE] 17:11:15.071 os.go:GOOS() - 87ns
[DEBUG] 17:11:15.071 segment.go:SetEnabled:115 → Segment: Shell
[DEBUG] 17:11:15.071 shell.go:Enabled:28 → mapped_shell_names: map[]
[DEBUG] 17:11:15.071 sysinfo.go:Init:36 → precision: 2
[DEBUG] 17:11:15.071 executiontime.go:Enabled:57 → always_enabled: false
[TRACE] 17:11:15.071 os.go:Shell() - 226ns
[TRACE] 17:11:15.071 os.go:ExecutionTime() - 144ns
[DEBUG] 17:11:15.071 executiontime.go:Enabled:59 → threshold: 0.000000
[DEBUG] 17:11:15.071 executiontime.go:Enabled:63 → roundrock
[TRACE] 17:11:15.071 os.go:TemplateCache() - 346ns
[TRACE] 17:11:15.071 os.go:TemplateCache() - 234ns
[TRACE] 17:11:15.076 os.go:Pwd() - 1.168µs
[TRACE] 17:11:15.076 os.go:GOOS() - 75ns
[DEBUG] 17:11:15.076 segment.go:SetEnabled:115 → Segment: Sysinfo
[TRACE] 17:11:15.076 os.go:TemplateCache() - 2.337µs
[DEBUG] 17:11:15.095 os.go:RunCommand:514 ↓
    Now drawing from 'AC Power'
     -InternalBattery-0 (id=8192099)	98%; charging; 0:38 remaining present: true
[TRACE] 17:11:15.095 os.go:RunCommand(pmset -g batt) - 24.451942ms
[TRACE] 17:11:15.095 os_darwin.go:BatteryState() - 24.540313ms
[DEBUG] 17:11:15.095 battery.go:Enabled:57 → 󰂉
[TRACE] 17:11:15.095 os.go:TemplateCache() - 500ns
[DEBUG] 17:11:15.095 text.go:Render:73 → Rendering template:  󰥔 {{ .CurrentDate | date .Format }}
[DEBUG] 17:11:15.095 text.go:Render:73 → Rendering template:  󱎫 {{ .FormattedMs }}
[DEBUG] 17:11:15.095 text.go:Render:73 → Rendering template:  󰞷 {{ .Name }}
[DEBUG] 17:11:15.095 text.go:Render:73 → Rendering template:  {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}%
[DEBUG] 17:11:15.096 text.go:Render:73 → Rendering template:   {{ round .PhysicalPercentUsed .Precision }}
[TRACE] 17:11:15.097 os.go:TemplateCache() - 620ns
[TRACE] 17:11:15.097 os.go:TemplateCache() - 687ns
[TRACE] 17:11:15.097 os.go:TemplateCache() - 226ns
[TRACE] 17:11:15.097 os.go:TemplateCache() - 478ns
[TRACE] 17:11:15.097 os.go:TemplateCache() - 243ns
[DEBUG] 17:11:15.098 text.go:Render:73 → Rendering template: diamond
[DEBUG] 17:11:15.098 text.go:Render:73 → Rendering template: diamond
[DEBUG] 17:11:15.098 text.go:Render:73 → Rendering template: diamond
[DEBUG] 17:11:15.098 text.go:Render:73 → Rendering template: diamond
[DEBUG] 17:11:15.098 text.go:Render:73 → Rendering template: diamond
[TRACE] 17:11:15.098 os.go:Shell() - 350ns
[TRACE] 17:11:15.098 os.go:Shell() - 61ns
[TRACE] 17:11:15.098 os.go:Flags() - 85ns
[TRACE] 17:11:15.098 os.go:Shell() - 79ns
[TRACE] 17:11:15.098 os.go:Shell() - 46ns
[TRACE] 17:11:15.098 os.go:Flags() - 48ns
[DEBUG] 17:11:15.098 os.go:Getenv:309 → NO DATA
[TRACE] 17:11:15.098 os.go:Getenv(OMP_CACHE_DIR) - 5.121µs
[DEBUG] 17:11:15.098 os.go:Getenv:309 → NO DATA
[TRACE] 17:11:15.098 os.go:Getenv(XDG_CACHE_HOME) - 3.614µs
[TRACE] 17:11:15.098 os_unix.go:CachePath() - 46.423µs
[TRACE] 17:11:15.098 os.go:Flags() - 51ns
@SuXYIO SuXYIO added the 🐛 bug Something isn't working label Jan 23, 2025
@SuXYIO
Copy link
Author

SuXYIO commented Jan 23, 2025

i experimented a little, the cursor position looks normal if i connect to the session, no matter using web or ssh.
there's also weird line wrap effects when i type to the length of the right side prompts and back, it doesn't show up on the connection clients

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