Commit 96bee097 authored by Duncan Bayne's avatar Duncan Bayne

Add helper to enable ANSI colors in buffer

parent 59fde019
......@@ -103,3 +103,9 @@
(cd "~")
(mapcar #'term-send-raw-string '("cd ~\n"
(defun utils:display-ansi-colors ()
"Replaces all ANSI color sequences in current buffer with actual colors."
(let ((inhibit-read-only t))
(ansi-color-apply-on-region (point-min) (point-max))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment