wip: big flat pt.10, down to 33

This commit is contained in:
🪞👃🪞 2024-12-30 20:51:16 +01:00
parent d01aa7481b
commit a0175dabc8
17 changed files with 6 additions and 1362 deletions

View file

@ -331,7 +331,7 @@ pub fn half_block (lower: bool, upper: bool) -> Option<char> {
//impl<T: Content<Tui>> Render<Tui> for T {}
impl Render<Tui> for str {
impl Render<Tui> for &str {
fn min_size (&self, _: [u16;2]) -> Perhaps<[u16;2]> {
// TODO: line breaks
Ok(Some([self.chars().count() as u16, 1]))