Comments (2)
This is likely an issue with your terminal and/or how it is configured. If your terminal is only using 16 or 256 colors (which is often the default behavior unless the COLORTERM
environment variable is set to "truecolor" even in terminals that support true color) it will just pick the "closest" one to the color you wanted.
You can find more information about how colors work in terminals and how to check if your terminal supports true color: https://github.com/termstandard/colors
from micro.
OK, I think I have worked this out. It turns out that there were two issues.
First, there is the question of colour names. Apparently, white
doesn’t mean “white”. It means grey. The same goes for the other colours. Using the “bright” version of the colour names is usually closer to the true meaning of the colour, but not always. I have managed to adjust my terminal settings, but I’m aware that the ANSI standard doesn’t match my expectation. More on this here:
https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
The alternative is to work purely in hex values. To make this more reliable, we need to tell Micro that we’re using true colour. I’ve add this in my .bashrc
file:
export COLORTERM=truecolor
export MICRO_TRUECOLOR=1
from micro.
Related Issues (20)
- Scroll with moving the scrollbar - a small idea for more convenience HOT 2
- Request (or just a general question) about .mo (modelica) syntax highlight support. HOT 1
- Weird tab bar behavior HOT 1
- Jumping to matching brace not as expected HOT 8
- editorconfig not applied HOT 2
- XHTML? HOT 3
- Distribution with DotSlash? HOT 1
- Match brace highlight is not working at all. HOT 4
- Add the possibility to open directories HOT 2
- perl related highlight inaccuracy HOT 2
- 【Feature request】- outline of code (at least common used types like markdown, c/c++, python, etc) HOT 2
- Help to toggle lint gutter HOT 2
- How to open a new tab in from plugin? HOT 2
- How to send micro to background HOT 1
- Update the config without closing the micro HOT 4
- Feature: Go to previous/next block of text HOT 2
- New release needed ? HOT 10
- Quick install command from website not working on Linux HOT 11
- brew install micro --HEAD stopped working HOT 7
- Crash on a custom syntax file with a Swift shebang HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micro.