ratatui-org / ratatui

Rust library that's all about cooking up terminal user interfaces (TUIs) 👨‍🍳🐀
https://ratatui.rs
MIT License
8.86k stars 269 forks source link

feat: re-export backends from the ratatui crate #1151

Closed joshka closed 1 month ago

joshka commented 1 month ago

crossterm, termion, and termwiz can now be accessed as ratatui::{crossterm, termion, termwiz} respectively. This makes it possible to just add the Ratatui crate as a dependency and use the backend of choice without having to add the backend crates as dependencies.

To update existing code, replace all instances of crossterm:: with ratatui::crossterm::, termion:: with ratatui::termion::, and termwiz:: with ratatui::termwiz::.