fix(draw): mismatches
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
same mf who else 2026-03-25 22:39:39 +02:00
parent 30d378a6ee
commit bea88ac58d
5 changed files with 27 additions and 15 deletions

View file

@ -17,6 +17,11 @@ 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)