We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you combine UTF-8 string with ANSI escape sequences, the bottom color becomes darker. This should be of light color just like the one before it.
use qrcode::{render::unicode::Dense1x2, QrCode}; use yansi::Paint; fn main() { let code = QrCode::new("mow mow").unwrap(); let image = code .render::<Dense1x2>() .dark_color(Dense1x2::Light) .light_color(Dense1x2::Dark) .build() .lines() .map(|l| format!("{}", l.green().on_bright_black())) .collect::<Vec<_>>() .join("\n"); println!("{}", image); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When you combine UTF-8 string with ANSI escape sequences, the bottom color becomes darker. This should be of light color just like the one before it.
The text was updated successfully, but these errors were encountered: