diff --git a/modules/os/tty/config.el b/modules/os/tty/config.el index bcd6ee018..6180012ec 100644 --- a/modules/os/tty/config.el +++ b/modules/os/tty/config.el @@ -1,5 +1,9 @@ ;;; os/tty/config.el -*- lexical-binding: t; -*- +;; Keep window title up-to-date; should fail gracefully in non-xterm terminals. +;; Only works in Emacs 27+. +(setq xterm-set-window-title t) + ;; Some terminals offer two different cursors: a "visible" static cursor and a ;; "very visible" blinking one. By default, Emacs uses the very visible cursor ;; and will switch back to it when Emacs is started or resumed. A nil