Function: ghostel--line-mode-input-end-pos
ghostel--line-mode-input-end-pos is a natively compiled function
defined in ghostel-line-mode.el.
Signature
(ghostel--line-mode-input-end-pos START)
Documentation
Return the position right after the contiguous ghostel-input span at START.
Returns START itself when there is no ghostel-input span there —
the common case at a fresh prompt where libghostty has not seen
any input bytes yet, so the renderer hasn't painted the property.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-line-mode.el
(defun ghostel--line-mode-input-end-pos (start)
"Return the position right after the contiguous `ghostel-input' span at START.
Returns START itself when there is no `ghostel-input' span there —
the common case at a fresh prompt where libghostty has not seen
any input bytes yet, so the renderer hasn't painted the property."
(if (get-text-property start 'ghostel-input)
(or (next-single-property-change start 'ghostel-input nil (point-max))
(point-max))
start))