Function: kkp-status

kkp-status is an interactive and natively compiled function defined in kkp.el.

Signature

(kkp-status)

Documentation

Message, if terminal supports KKP, if yes, currently enabled enhancements.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/0igl9q4k4n87vg4h2gnnrlha21kx9biv-emacs-packages-deps/share/emacs/site-lisp/elpa/kkp-20260706.858/kkp.el
;;;###autoload
(defun kkp-status ()
  "Message, if terminal supports KKP, if yes, currently enabled enhancements."
  (interactive)
  ;; A single `?u' query answers both questions: its shape tells us whether the
  ;; terminal supports KKP, and its flags byte carries the enabled enhancements.
  (let ((reply (kkp--query-terminal-sync "?u" ?u)))
    (if (kkp--reply-indicates-support-p reply)
        (message "KKP supported in this terminal.\n%s"
                 (if (kkp--this-terminal-has-active-kkp-p)
                     (format "KKP active in this terminal. Enabled enhancements: %s"
                             (mapconcat 'symbol-name (kkp--reply-enhancements reply) " and "))
                   "KKP not active in this terminal."))
      (message "KKP not supported in this terminal."))))