Variable: ghostel-mouse-drag-input-mode
ghostel-mouse-drag-input-mode is a customizable variable defined in
ghostel.el.
Value
default
Documentation
Input mode to switch to after a left-button mouse click or selection.
- default: enter ghostel-readonly-default-mode (initially copy).
- copy: enter ghostel-copy-mode. Pauses redraws -
the selection is stable and the buffer is read-only.
- emacs: enter ghostel-emacs-mode. Terminal output keeps
streaming; the buffer is read-only. Pick this when you do not
want the terminal to pause for a selection.
- nil: stay in semi-char. M-w is not bound here.
With emacs and nil, output repainting the selected rows deactivates it.
Has no effect when terminal mouse input consumes the event, or when the buffer is not in semi-char-mode when the gesture completes. Copy, Emacs, and line modes keep normal Emacs mouse behavior even if terminal mouse tracking is active. A click that focuses the window or its frame never switches mode.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defcustom ghostel-mouse-drag-input-mode 'default
"Input mode to switch to after a left-button mouse click or selection.
- `default': enter `ghostel-readonly-default-mode' (initially copy).
- `copy': enter `ghostel-copy-mode'. Pauses redraws -
the selection is stable and the buffer is read-only.
- `emacs': enter `ghostel-emacs-mode'. Terminal output keeps
streaming; the buffer is read-only. Pick this when you do not
want the terminal to pause for a selection.
- nil: stay in semi-char. `M-w' is not bound here.
With `emacs' and nil, output repainting the selected rows deactivates it.
Has no effect when terminal mouse input consumes the event, or
when the buffer is not in semi-char-mode when the gesture
completes. Copy, Emacs, and line modes keep normal Emacs mouse
behavior even if terminal mouse tracking is active.
A click that focuses the window or its frame never switches mode."
:type '(choice (const :tag "Follow ghostel-readonly-default-mode" default)
(const :tag "Copy mode" copy)
(const :tag "Emacs mode" emacs)
(const :tag "Do not switch" nil)))