diff --git a/modules/os/tty/config.el b/modules/os/tty/config.el index a19261416..0dfe12731 100644 --- a/modules/os/tty/config.el +++ b/modules/os/tty/config.el @@ -18,6 +18,11 @@ ;; Enable the mouse in terminal Emacs (add-hook 'tty-setup-hook #'xterm-mouse-mode) +;; Support for child frames in terminal frames was added in 31. Enable it, if it +;; is available. +(when (featurep 'tty-child-frames) + (add-hook 'tty-setup-hoom #'tty-tip-mode)) + ;; Windows terminals don't support what I'm about to do, but best not to wrap ;; this in an OS check, in case you're using WSL or Cygwin, which *might* ;; support it.