diff options
| author | Victor Kareh <[email protected]> | 2026-04-09 17:03:54 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-05-06 13:28:37 -0400 |
| commit | 439707b511e84a2eeabddcb1e1b7946956008626 (patch) | |
| tree | d484db0408927cc68d1cdb95ed36f9b22e3efa48 /help/eu | |
| parent | a4311214f6e2dc7ec7ff06878ed268ef011c7c67 (diff) | |
| download | mate-terminal-master.tar.bz2 mate-terminal-master.tar.xz | |
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/eu')
0 files changed, 0 insertions, 0 deletions
