nit(tty): revise comments

Minor corrections and a little more detail.
This commit is contained in:
Henrik Lissner 2022-02-10 19:30:50 +01:00
parent 99ecc264f7
commit 47280132a1

View file

@ -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...