Function: ghostel--prompt-input-start

ghostel--prompt-input-start is a natively compiled function defined in ghostel-shell.el.

Signature

(ghostel--prompt-input-start)

Documentation

From the start of a ghostel-prompt region, move past the prefix.

If ghostel-input begins on the same line, point lands at its start; otherwise point lands just past the prompt-prefix region - the natural position where the user would begin typing.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-shell.el
(defun ghostel--prompt-input-start ()
  "From the start of a `ghostel-prompt' region, move past the prefix.
If `ghostel-input' begins on the same line, point lands at its
start; otherwise point lands just past the prompt-prefix region -
the natural position where the user would begin typing."
  (goto-char (or (next-single-property-change
                  (point) 'ghostel-prompt nil (line-end-position))
                 (line-end-position))))