Function: ghostel--mouse-release
ghostel--mouse-release is an interactive and natively compiled
function defined in ghostel.el.
Signature
(ghostel--mouse-release EVENT)
Documentation
Handle mouse button release EVENT for terminal mouse tracking.
Return non-nil when the event was encoded and sent to the terminal.
Key Bindings
ghostel-char-mode-map <mouse-1> ghostel-char-mode-map <mouse-2> ghostel-char-mode-map <mouse-3> ghostel-mode-map <mouse-3>
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel--mouse-release (event)
"Handle mouse button release EVENT for terminal mouse tracking.
Return non-nil when the event was encoded and sent to the terminal."
(interactive "e")
(when (or ghostel--mouse-drag-button
(ghostel--terminal-input-mode-p))
(let* ((posn (event-end event))
(col-row (ghostel--posn-cell posn))
(col (car col-row))
(row (cdr col-row)))
(ghostel--mouse-event ghostel--term
1 ; release
(ghostel--mouse-button-number event)
row col
(ghostel--mouse-mods event)))))