Function: ghostel-cursor-point
ghostel-cursor-point is a natively compiled function defined in
ghostel.el.
Signature
(ghostel-cursor-point)
Documentation
Return the buffer position of the terminal cursor.
This is the live editing position — wherever readline / zle / prompt_toolkit currently has the cursor — which can sit *inside* the typed input when the user moved it back with arrow keys, not necessarily at the end of typed content.
Returns nil when no terminal cursor is available.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
;; Public cursor-state queries
(defun ghostel-cursor-point ()
"Return the buffer position of the terminal cursor.
This is the live editing position — wherever readline / zle /
prompt_toolkit currently has the cursor — which can sit *inside*
the typed input when the user moved it back with arrow keys, not
necessarily at the end of typed content.
Returns nil when no terminal cursor is available."
ghostel--cursor-char-pos)