Closed ChoppinBlockParty closed 6 years ago
I have figured out the issue was that (setq comint-output-filter-functions ...)
was set once, outside of shell-mode-hook
. When I put it inside the hook like this:
(defun my-shell-mode-hook ()
"A hook to setup shell-mode."
(setq comint-output-filter-functions
(remove'ansi-color-process-output comint-output-filter-functions))
(add-hook 'comint-preoutput-filter-functions 'xterm-color-filter nil t)
)
(add-hook 'shell-mode-hook 'my-shell-mode-hook)
The weird shell disappeared, and seems like bold font is not yet supported, follow #17.
I have configuration for my shell-mode like this
After adding relevant to the plugin lines (mentioned in the doc) I get a weird printing of my prompt with escape terminal sequences at every startup. After that it seems to work fine and display colors, though one thing I have noticed is that it does not show bold font anymore, it is always regular font, where it is supposed to be bold. Moreover bold is replaced with yellow.
In
g++: fatal error: no input
,g++
must be bold and white, not regular and yellow.Any ideas?