Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background color does not change #1429

Open
ttmms opened this issue Dec 23, 2019 · 4 comments
Open

Background color does not change #1429

ttmms opened this issue Dec 23, 2019 · 4 comments

Comments

@ttmms
Copy link

ttmms commented Dec 23, 2019

Description of the problem or steps to reproduce

About all color schemes have same blueish gray background. Either the maker just loves this color, or it is a bug. Also, I didn't find any specifier to change background color in own themes. Please help.

Specifications

Version: 1.4.0
Commit hash: af520cf
Compiled on January 26, 2018
Linux

@tommyshem
Copy link
Contributor

@tuomassa
save test.micro file in ~/.config/micro/colorschemes and put in the below

# default colour Forground red background green
color-link default "#FF0000,#33FF33"

Open micro and ctrl e set colorscheme test

Micro editor should have a green background and the text should be red if it is not then there is something wrong.

@Calinou
Copy link
Contributor

Calinou commented Dec 23, 2019

Note that for accurate color display, you must set the MICRO_TRUECOLOR=1 environment variable and use a terminal emulator that supports truecolor rendering.

@zyedidia
Copy link
Owner

What is your $TERM environment variable (echo $TERM)? In order to support most colorschemes, your terminal must support 256 colors, indicated by the value xterm-256color if you are using the default Linux terminal.

@XeroOl
Copy link
Contributor

XeroOl commented Oct 14, 2020

I also am having issues with this.
Colors are not displaying with truecolor.
For me:

  • $TERM is set to screen-256color
  • $MICRO_TRUECOLOR is set to 1

imo, the value $MICRO_TRUECOLOR should be prioritized over the value of $TERM, instead of requiring them both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants