ratatui-org / ratatui

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

Exports should only be in a single location #1210

Open EdJoPaTo opened 6 days ago

EdJoPaTo commented 6 days ago

Currently Terminal is exported both as ratatui::Terminal and ratatui::terminal::Terminal. (There might be more cases like this, haven't checked yet)

would be breaking, but the public export should only exist in a single location. Either it's something global or it needs structuring in modules. Allowing for both seems strange. General thought here: reduce the stuff that is publicly accessible. One of the two places should be gone.

_Originally posted by @EdJoPaTo in https://github.com/ratatui-org/ratatui/pull/1180#discussion_r1647468130_