summaryrefslogtreecommitdiff
path: root/help/nds
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2026-04-09 17:03:54 -0400
committerVictor Kareh <[email protected]>2026-05-06 13:28:37 -0400
commit439707b511e84a2eeabddcb1e1b7946956008626 (patch)
treed484db0408927cc68d1cdb95ed36f9b22e3efa48 /help/nds
parenta4311214f6e2dc7ec7ff06878ed268ef011c7c67 (diff)
downloadmate-terminal-master.tar.bz2
mate-terminal-master.tar.xz
terminal-screen: prefer OSC 7 for current working directoryHEADmaster
Use the current directory URI (set by the shell via OSC 7 escape sequence) to determine the working directory for new tabs, instead of reading /proc. This works inside tmux/screen/sudo, preserves symlink components, and is consistent with other VTE-based terminal emulators. The /proc-based detection is kept as a fallback for shells that don't emit OSC 7 (e.g. vte.sh is not sourced). The initial working directory is used as a final fallback, and the separate _with_fallback variant is folded into the main function so all callers benefit from the complete fallback chain. Adapted from https://gitlab.gnome.org/GNOME/gnome-terminal/-/commit/cf3cad87 Fixes #195
Diffstat (limited to 'help/nds')
0 files changed, 0 insertions, 0 deletions