Variable: ghostel-command-start-functions
ghostel-command-start-functions is a customizable variable defined in
ghostel-shell.el.
Value
nil
Documentation
Hook run when a shell command starts running (OSC 133 C marker).
Each function is called with one argument: the buffer.
Requires shell integration; this fires from the shell's preexec hook just before the user's command runs. Useful for distinguishing a real command's lifecycle from prompt redraws (which emit D markers without a preceding C).
Errors in hook functions are demoted to messages via
with-demoted-errors (re-signalled when debug-on-error is
non-nil so the debugger can fire).
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-shell.el
(defcustom ghostel-command-start-functions nil
"Hook run when a shell command starts running (OSC 133 C marker).
Each function is called with one argument: the buffer.
Requires shell integration; this fires from the shell's
preexec hook just before the user's command runs. Useful
for distinguishing a real command's lifecycle from prompt
redraws (which emit D markers without a preceding C).
Errors in hook functions are demoted to messages via
`with-demoted-errors' (re-signalled when `debug-on-error' is
non-nil so the debugger can fire)."
:type 'hook
:group 'ghostel)