mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-26 16:02:34 +00:00
A native SSH pane is owned by this machine's daemon, so its paths are kept away from every Host call and it never gets a git_status_cwd. The sidebar only grouped from git_status_cwd, which left every native SSH tab in Scratch under repo-or-directory grouping, even though the remote shell reports its cwd over OSC 7. Fall back to that reported cwd for native SSH panes (absolute POSIX paths only) and resolve it as a settled 'no repo': repo-or-directory files the tab under the folder, repo grouping keeps it in Scratch. Typed 'ssh' and WSL panes are unchanged. Fixes #891