Function: cider-browse-ns--column-width

cider-browse-ns--column-width is a byte-compiled function defined in cider-browse-ns.el.

Signature

(cider-browse-ns--column-width ITEMS)

Documentation

Determine the display width of displayed ITEMS.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-browse-ns.el
(defun cider-browse-ns--column-width (items)
  "Determine the display width of displayed ITEMS."
  (let* ((propertized-lines
          (seq-map (lambda (key)
                     (cider-browse-ns--propertized-item key items))
                   (nrepl-dict-keys items))))
    (if propertized-lines
        (apply #'max (seq-map (lambda (entry) (string-width entry))
                              propertized-lines))
      0)))