Function: ghostel--on-user-input

ghostel--on-user-input is a natively compiled function defined in ghostel.el.

Signature

(ghostel--on-user-input)

Documentation

Handle common state before explicit user input reaches the terminal.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel--on-user-input ()
  "Handle common state before explicit user input reaches the terminal."
  (deactivate-mark)
  (when (and ghostel-readonly-fast-exit
             (memq ghostel--input-mode '(copy emacs)))
    (ghostel-readonly-exit))
  (when (and ghostel-scroll-on-input ghostel--term)
    (ghostel--anchor-window nil t)))