Function: eca-chat--turn-duration-str
eca-chat--turn-duration-str is a natively compiled function defined in
eca-chat.el.
Signature
(eca-chat--turn-duration-str)
Documentation
Return formatted turn duration string, or nil.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--turn-duration-str ()
"Return formatted turn duration string, or nil."
(when-let* ((dur (cond
(eca-chat--prompt-start-time
(floor (float-time
(time-subtract (current-time)
eca-chat--prompt-start-time))))
(eca-chat--turn-duration-secs
eca-chat--turn-duration-secs))))
(concat (eca-chat--format-duration dur)
(when eca-chat--prompt-start-time "…"))))