fix(screen): respect DISABLE_AUTO_TITLE (#6524)

Co-authored-by: Robby Russell <robby@planetargon.com>
This commit is contained in:
cono
2026-09-14 21:32:24 +02:00
committed by GitHub
co-authored by Robby Russell
parent aea374f522
commit e995678ca8
+2
View File
@@ -34,6 +34,8 @@ if [[ "$TERM" == screen* ]]; then
# tell GNU screen what the tab window title ($1) and the hardstatus($2) should be
function screen_set()
{
[[ "${DISABLE_AUTO_TITLE:-}" != true ]] || return 0
# set the tab window title (%t) for screen
print -nR $'\033k'$1$'\033'\\\