1 unstable release

new 0.0.1 Mar 18, 2025

#89 in #embedded-graphics

Download history 84/week @ 2025-03-16

84 downloads per month

MIT license

435KB
213 lines

mousefood

embedded-graphics backend for Ratatui!

🚧 Under construction 🏗️

Demo:

demo.jpg

Installation:

cargo add mousefood

Usage:

It is recommended to use ibm437 font crate as it contains much more special characters than embedded-graphics's built-in fonts. It is required to properly render widgets like charts and borders.

let backend = mousefood::EmbeddedBackend::new(&mut display, ibm437::IBM437_8X8_REGULAR);
let mut terminal = ratatui::Terminal::new(backend)?;

loop {
    terminal.draw(...)?;
}

Dependencies

~8.5MB
~121K SLoC