diff --git a/modules/os/tty/config.el b/modules/os/tty/config.el index 633ac483d..b3bd61be7 100644 --- a/modules/os/tty/config.el +++ b/modules/os/tty/config.el @@ -1,6 +1,6 @@ ;;; os/tty/config.el -*- lexical-binding: t; -*- -;; Keep window title up-to-date; should fail gracefully in non-xterm terminals. +;; Keep window title up-to-date. Should fail gracefully in non-xterm terminals. ;; Only works in Emacs 27+. (setq xterm-set-window-title t) ;; DEPRECATED Not needed on Emacs 28+. Remove when dropping 27 support. @@ -18,7 +18,9 @@ ;; Enable the mouse in terminal Emacs (add-hook 'tty-setup-hook #'xterm-mouse-mode) -;; Windows terminals don't support what I'm about to do. +;; Windows terminals don't support what I'm about to do, but best not to wrap +;; this in a IS-WINDOWS check, in case you're using WSL or Cygwin, which do and +;; *might* support it. (add-hook! 'tty-setup-hook (defun doom-init-clipboard-in-tty-emacs-h () ;; Fix the clipboard in tty Emacs by...