Function: ghostel--flush-plain-link-detection
ghostel--flush-plain-link-detection is a natively compiled function
defined in ghostel-links.el.
Signature
(ghostel--flush-plain-link-detection)
Documentation
Drain the queued plain-text link detection to completion, now.
For a terminal at the end of its life: no later redraw will repaint its text, so ticks still owed would never run, and the row the cursor stopped on is output rather than a prompt to leave alone.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-links.el
(defun ghostel--flush-plain-link-detection ()
"Drain the queued plain-text link detection to completion, now.
For a terminal at the end of its life: no later redraw will repaint
its text, so ticks still owed would never run, and the row the cursor
stopped on is output rather than a prompt to leave alone."
(let ((ghostel--inhibit-active-line-skip t))
(while ghostel--plain-link-detection-begin
(when ghostel--plain-link-detection-timer
(cancel-timer ghostel--plain-link-detection-timer)
(setq ghostel--plain-link-detection-timer nil))
(ghostel--run-queued-plain-link-detection (current-buffer)))))