Function: kkp--read-terminal-events

kkp--read-terminal-events is a natively compiled function defined in kkp.el.

Signature

(kkp--read-terminal-events INITIAL-BYTE)

Documentation

Read terminal events until an acceptable terminator is found.

INITIAL-BYTE is the first byte of the sequence.

Source Code

;; Defined in /nix/store/0igl9q4k4n87vg4h2gnnrlha21kx9biv-emacs-packages-deps/share/emacs/site-lisp/elpa/kkp-20260706.858/kkp.el
(defun kkp--read-terminal-events (initial-byte)
  "Read terminal events until an acceptable terminator is found.
INITIAL-BYTE is the first byte of the sequence."
  (let ((events (list initial-byte)))
    (while (not (member (cl-first events) kkp--acceptable-terminators))
      (push (read-event) events))
    (nreverse events)))