Giter Club home page Giter Club logo

Comments (7)

raphamorim avatar raphamorim commented on June 9, 2024 2

Hey @haxibami thanks for the issue and sorry for late reply,

I can reproduce it on latest marking as a bug.

just to take note: which OS are you using and which rio version?

from rio.

LuarRaNa avatar LuarRaNa commented on June 9, 2024 2

I am not sure if it is related but using nushell I get the following results compared to Alacritty.
image
image
The value for "green bold" in Rio is lighter than it is shown in Alacritty. The same for "red bold" and other ansi colors in bold. Even comparing "green" and "green bold" in Rio shows the difference.

OS: macOS Sonoma
Rio Version: 0.0.36

from rio.

LuarRaNa avatar LuarRaNa commented on June 9, 2024 2

Digging a little deeper, I found that Alacritty and Wezterm have a setting related to bold drawn text using the bright color palette.
Alacritty:
draw_bold_text_with_bright_colors default false.
Wezterm:
bold_brightens_ansi_colors default true
At first Wezterm behaved similarly to Rio but by changing its option to false, it displays bold text correctly.

from rio.

haxibami avatar haxibami commented on June 9, 2024

OS: Linux (Arch Linux, official package)
Rio Version: 0.0.35

from rio.

nat-418 avatar nat-418 commented on June 9, 2024

Same issue with Rio 0.0.34 on NixOS 23.11.

from rio.

cwegener avatar cwegener commented on June 9, 2024

Is this related to the existing issue? #188

from rio.

raphamorim avatar raphamorim commented on June 9, 2024

Yea, is connected partially with @cwegener , the thing is that rio (today) sets colors based on RGBA >255, to fix this specific issue is basically correct the default colors. Probably I will patch it for 0.1.0 which will take longer to release, but if anyone would like to pick up the changes and apply for the branch 0.0.x I can make a release with the fix.

from rio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.