Comments (6)
It might cause to use true color theme. 24bit colors are rendered by following codes.
fg and bg are same, so we looks like no characters on screen.
I tried fixing with ColorRGB::to_arr()
, example of function to convert to ColorArray.
impl ColorRgb {
pub fn to_arr(&self) -> ColorArray {
[
self.r as f32 / 255.0,
self.g as f32 / 255.0,
self.b as f32 / 255.0,
1.0
]
}
}
from rio.
@raphamorim fixed in the canary build!
from rio.
Can't reproduce on my vim but my nvim is having similar issues. Probably is some missing instruction in the Rio to deal with specific configuration (my vimrc and nvim configs are different)
My VIM
from rio.
good catch @niuez yes, rgb colors are being completely ignored (I can reproduce it as well).
Would mind send a PR correcting it in the AnsiColor::Spec(_rgb) => self.named_colors.foreground
to use ColorRgb with to_arr as you suggested or extend ColorBuilder
Lines 371 to 380 in ec4f89d
from rio.
@siimon can you validate if it still happens with the canary release build? https://github.com/raphamorim/rio/releases
from rio.
Great! thank you for confirming @siimon
from rio.
Related Issues (20)
- Remaining work from new text renderer introduced on #428
- Ability to overwrite / uninstall keybindings HOT 4
- bug: vi mode on Windows HOT 1
- Unexpected basic 16 terminal colors displayed on some apps HOT 7
- Application does not respond on Wayland HOT 1
- BottomTab does not update on windows when switching tab and exit immediately HOT 1
- Glyphs have very weird rendering HOT 2
- Layout support HOT 1
- Linux Wayland: WA migration
- Linux X11: Wa migration
- Windows: WA migration
- Fix cached run on lines that crashes few times [sugarloaf] HOT 1
- Load emoji and falllback fonts on demand and drop memory after not being used anymore leaving only the file path as reference
- Are ligatures actually supported in 0.0.36? HOT 3
- newline issue when pasting multi-line text
- [Bug] Noticeable text update HOT 1
- [Bug] Noticeable text update
- [Bug] Tab indicator doesn't disappear HOT 2
- [Bug] The `[colors]` option does not override theme colors. HOT 3
- zsh with glyphs won't render HOT 2
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 rio.