Function: eca-mcp--pad-right

eca-mcp--pad-right is a natively compiled function defined in eca-mcp.el.

Signature

(eca-mcp--pad-right STRING WIDTH)

Documentation

Pad STRING with spaces to display WIDTH columns.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-mcp.el
(defun eca-mcp--pad-right (string width)
  "Pad STRING with spaces to display WIDTH columns."
  (concat string
          (make-string (max 0 (- width (string-width string))) ?\s)))