Select the types of activity you want to include in your feed.
fix: closed eyes use body color as background
The half block (▄) for closed eyes now sets the ANSI background color to the body color, so the top half blends in instead of showing the terminal background.
···70707171 let body_block = c.body_color.full_block();
7272 let eye_open = c.eye_color.full_block();
7373- let eye_closed = c.eye_color.half_block();
7373+ let eye_closed = c.eye_color.half_block_on(&c.body_color);
7474 let space = " ";
75757676 // ── Eye positions ───────────────────────────────────────────────────
+7-3
src/color.rs
···4040 format!("\x1b[38;2;{};{};{}m\u{2588}\x1b[0m", self.r, self.g, self.b)
4141 }
42424343- /// Lower half block `▄` in this color (used for closed eyes).
4444- pub fn half_block(&self) -> String {
4545- format!("\x1b[38;2;{};{};{}m\u{2584}\x1b[0m", self.r, self.g, self.b)
4343+ /// Lower half block `▄` in this color with a background color filling the top half.
4444+ /// Used for closed eyes so the upper half blends into the body.
4545+ pub fn half_block_on(&self, bg: &Color) -> String {
4646+ format!(
4747+ "\x1b[38;2;{};{};{}m\x1b[48;2;{};{};{}m\u{2584}\x1b[0m",
4848+ self.r, self.g, self.b, bg.r, bg.g, bg.b
4949+ )
4650 }
4751}