Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ opt-level = 's'
overflow-checks = false

[workspace.dependencies]
ratatui-core = { version = "0.1.0", features = ["underline-color"] }
ratatui-core = { version = "0.1.0" }
thiserror = { version = "2.0.18", default-features = false }
embedded-graphics = "0.8.1"
embedded-graphics-simulator = "0.8.0"
Expand Down
3 changes: 2 additions & 1 deletion mousefood/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ rstest.workspace = true
paste.workspace = true

[features]
default = ["fonts", "framebuffer"]
default = ["fonts", "framebuffer", "underline-color"]
std = ["thiserror/std", "ratatui-core/std"]
fonts = ["dep:embedded-graphics-unicodefonts"]
epd-weact = ["dep:weact-studio-epd"]
epd-waveshare = ["dep:epd-waveshare"]
framebuffer = []
underline-color = ["ratatui-core/underline-color"]

[lints]
workspace = true
1 change: 1 addition & 0 deletions mousefood/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ where
}
}

#[cfg(feature = "underline-color")]
if cell.underline_color != style::Color::Reset {
style_builder = style_builder.underline_with_color(
TermColor::new(
Expand Down