Add utility function to render ansi colors in a file
This commit is contained in:
parent
f394365ff9
commit
e29116f2f6
@ -15,4 +15,9 @@
|
|||||||
(calc-mode-map "C-o" #'casual-calc-tmenu)
|
(calc-mode-map "C-o" #'casual-calc-tmenu)
|
||||||
(calc-alg-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)
|
(provide 'init-utils)
|
||||||
|
Loading…
Reference in New Issue
Block a user