Skip to content

Commit

Permalink
Fix color introducer string
Browse files Browse the repository at this point in the history
  • Loading branch information
shuni64 committed Nov 9, 2019
1 parent e14aa15 commit cb8225f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image_backends/sixel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl super::ImageBackend for SixelBackend {
let color_multiplier = 100.0 / 255.0;
image_data.extend(
format!(
"#{};2;{};{};{};",
"#{};2;{};{};{}",
colors.len(),
(pixel[0] as f32 * color_multiplier) as u32,
(pixel[1] as f32 * color_multiplier) as u32,
Expand Down

0 comments on commit cb8225f

Please sign in to comment.