Function: ghostel--set-size-with-cell-dims

ghostel--set-size-with-cell-dims is a natively compiled function defined in ghostel.el.

Signature

(ghostel--set-size-with-cell-dims TERM ROWS COLS)

Documentation

Resize TERM to ROWS×COLS, including the reported cell pixel dimensions.

Convenience wrapper to keep the resize sites consistent. Resolves the cell dimensions from the current buffer, so call it with TERM's buffer current.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel--set-size-with-cell-dims (term rows cols)
  "Resize TERM to ROWS×COLS, including the reported cell pixel dimensions.
Convenience wrapper to keep the resize sites consistent.  Resolves the cell
dimensions from the current buffer, so call it with TERM's buffer current."
  (ghostel--set-size term rows cols
                     (ghostel--reported-cell-width)
                     (ghostel--reported-cell-height)))