{"repo":"ratatui/mousefood","free":true,"listed":false,"github":"https://github.com/ratatui/mousefood","clone":"git clone https://github.com/ratatui/mousefood.git","description":"embedded-graphics backend for Ratatui","language":"Rust","stars":1312,"topics":["embedded-graphics","ratatui","rust","tui"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"Mousefood - a no-std embedded-graphics backend for Ratatui! Quickstart Add mousefood as a dependency: Exemplary setup: Special characters Embedded-graphics includes bitmap fonts that have a very limited set of characters to save space (ASCII, ISO 8859 or JIS X0201). This makes it impossible to draw most of Ratatui's widgets, which heavily use box-drawing glyphs, Braille, and other special characters. Mousefood by default uses embedded-graphics-unicodefonts , which provides embedded-graphics fonts with a much larger set of characters. Alternatives In order to save space and speed up rendering, the fonts feature can be disabled by turning off the default crate features. ibm437 is a good alternative that includes some drawing characters, but is not as large as embedded-graphics-unicodefonts. Bold and italic fonts Bold and italic modifiers are supported, but this requires providing fonts through EmbeddedBackendConfig . If only regular font is provided, it serves as a fallback. All fonts must be of the same size. Color theme Colors can be remapped using color theme on EmbeddedBackendConfig . By default the ANSI palette is used. Built-in themes Mousefood includes popular color themes that can be used directly: - ColorTheme::ansi() - Standard ANSI colors (default) - ColorTheme::tokyo night() - Tokyo Night dark theme with blue/purple tones Cursor and blink Mousefood supports configurable cursor styles and text blinking. The cursor style can be set to Inverse (default), Underline , Ou","default_branch":null,"files":null,"tree":[],"storefront":"/r/ratatui","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ratatui/mousefood/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}