Emacs: has a completely different background color in ansi-term

I usually use a light background color in all Emacs faces. But I'm used to the dark backgrounds in the terminal. So I wanted to set the background color of ansi-term to black. However, when I do this, only the part of the text on which the text was written is correctly colored, the rest of the background is still light, as on other faces. I am looking for a way to completely set the ansi-term background color to black. Example: http://i.stack.imgur.com/F3pra.png

+4
source share
2 answers

Check color-theme-buffer-local . I think this is what you need.

+1
source

The default face / font, unless another definition overrides it:

(set-face-attribute 'default nil :background "black" :foreground "white" :font "Courier" :height 180) 

See also: Adjustment of term faces in the new Emacs 24.3

Example
(source: lawlist.com )

+1
source

Source: https://habr.com/ru/post/1502902/


All Articles