Add utility function to render ansi colors in a file

This commit is contained in:
Jeremy Dormitzer 2024-07-09 13:20:24 -04:00
parent f394365ff9
commit e29116f2f6

View File

@ -15,4 +15,9 @@
(calc-mode-map "C-o" #'casual-calc-tmenu)
(calc-alg-map "C-o" #'casual-calc-tmenu))
(defun display-ansi-colors ()
(interactive)
(require 'ansi-color)
(ansi-color-apply-on-region (point-min) (point-max)))
(provide 'init-utils)