Function: ghostel-alt-screen-p
ghostel-alt-screen-p is a natively compiled function defined in
ghostel.el.
Signature
(ghostel-alt-screen-p)
Documentation
Return non-nil when the terminal is on its alternate screen.
True while a fullscreen TUI (vim, less, htop, …) runs, regardless of which DEC mode (47, 1047, or 1049) it used to get there.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel-alt-screen-p ()
"Return non-nil when the terminal is on its alternate screen.
True while a fullscreen TUI (vim, less, htop, …) runs, regardless of
which DEC mode (47, 1047, or 1049) it used to get there."
(and ghostel--term (ghostel--alt-screen-p ghostel--term)))