I am using following code to apply colorize text in emacs, such as for ^[
characters to apply color. In order to use this code I have to select text to apply it
reference: https://unix.stackexchange.com/a/19505/198423
(defun ansi-color-apply-on-region-int (beg end)
"interactive version of func"
(interactive "r")
(ansi-color-apply-on-region beg end))
How can I automatically apply it for the complete buffer? Is there any alternative solution to use it as a mode something like ansi-color-mode
?