nit(tty): revise comments
Minor corrections and a little more detail.
This commit is contained in:
parent
99ecc264f7
commit
47280132a1
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; os/tty/config.el -*- lexical-binding: t; -*-
|
;;; 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+.
|
;; Only works in Emacs 27+.
|
||||||
(setq xterm-set-window-title t)
|
(setq xterm-set-window-title t)
|
||||||
;; DEPRECATED Not needed on Emacs 28+. Remove when dropping 27 support.
|
;; DEPRECATED Not needed on Emacs 28+. Remove when dropping 27 support.
|
||||||
|
@ -18,7 +18,9 @@
|
||||||
;; Enable the mouse in terminal Emacs
|
;; Enable the mouse in terminal Emacs
|
||||||
(add-hook 'tty-setup-hook #'xterm-mouse-mode)
|
(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
|
(add-hook! 'tty-setup-hook
|
||||||
(defun doom-init-clipboard-in-tty-emacs-h ()
|
(defun doom-init-clipboard-in-tty-emacs-h ()
|
||||||
;; Fix the clipboard in tty Emacs by...
|
;; Fix the clipboard in tty Emacs by...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue