0.5.1: enable border

This commit is contained in:
🪞👃🪞 2025-04-04 00:57:12 +03:00
parent 022cc39892
commit 829d35b61f
3 changed files with 7 additions and 7 deletions

View file

@ -135,7 +135,7 @@ macro_rules! border {
const S: &'static str = $s;
const SE: &'static str = $se;
$($x)*
fn enabled (&self) -> bool { false }
fn enabled (&self) -> bool { self.0 }
}
#[derive(Copy, Clone)] pub struct $T(pub bool, pub Style);
impl Content<TuiOut> for $T {