From 47280132a10b805efbd92dea15769dfdf2e96fb1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 10 Feb 2022 19:30:50 +0100 Subject: [PATCH] nit(tty): revise comments Minor corrections and a little more detail. --- modules/os/tty/config.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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...