fix Size, begin fixing View

This commit is contained in:
i do not exist 2026-04-13 17:30:43 +03:00
parent a06ea2ac13
commit a93fe92a59
3 changed files with 38 additions and 18 deletions

View file

@ -17,11 +17,6 @@ pub(crate) use ::unicode_width::*;
self.as_str().draw(to)
}
}
impl Draw<Tui> for std::sync::Arc<str> {
fn draw (self, to: &mut Tui) -> Usually<XYWH<u16>> {
self.as_ref().draw(to)
}
}
impl Draw<Tui> for &std::sync::Arc<str> {
fn draw (self, to: &mut Tui) -> Usually<XYWH<u16>> {
self.as_ref().draw(to)