Structs§
- Ratagui
Backend - The RataguiBackend is the widget+backend itself , from which you can make a ratatui terminal , then you can do ui.add(terminal.backend_mut()) inside an egui context . Spawn with RataguiBackend::new() or RataguiBackend::new_with_fonts() . See the hello_world_web example for custom font usage
Traits§
- NewCC
- Implement this trait when you want to setup ratatui to use custom fonts Otherwise it will use the default egui font which is missing extra unicode characters .Implement canvas_id() for a custom canvas id
Functions§
- native_
setup - When compiling natively this function generates an eframe::NativeOptions then does eframe::run_native() on your eframe::App . NOTE THERE IS ANOTHER FUNCTION CALLED ‘wasm_setup’ that is exactly the same but for wasm… look inside the examples folder and README and src/wasm_runner.rs !!!!! I couldn’t figure out how to make docs.rs show it :D BY THE WAY THE SOURCE CODE IN TOTAL IS LESS THAN 600 LINES CURRENTLY CHECK IT OUT