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

10
Cargo.lock generated
View file

@ -934,7 +934,7 @@ dependencies = [
[[package]] [[package]]
name = "tengri" name = "tengri"
version = "0.5.0" version = "0.5.1"
dependencies = [ dependencies = [
"tengri_dsl", "tengri_dsl",
"tengri_input", "tengri_input",
@ -944,7 +944,7 @@ dependencies = [
[[package]] [[package]]
name = "tengri_dsl" name = "tengri_dsl"
version = "0.5.0" version = "0.5.1"
dependencies = [ dependencies = [
"itertools 0.14.0", "itertools 0.14.0",
"konst", "konst",
@ -955,7 +955,7 @@ dependencies = [
[[package]] [[package]]
name = "tengri_input" name = "tengri_input"
version = "0.5.0" version = "0.5.1"
dependencies = [ dependencies = [
"tengri_dsl", "tengri_dsl",
"tengri_tui", "tengri_tui",
@ -963,7 +963,7 @@ dependencies = [
[[package]] [[package]]
name = "tengri_output" name = "tengri_output"
version = "0.5.0" version = "0.5.1"
dependencies = [ dependencies = [
"proptest", "proptest",
"proptest-derive", "proptest-derive",
@ -974,7 +974,7 @@ dependencies = [
[[package]] [[package]]
name = "tengri_tui" name = "tengri_tui"
version = "0.5.0" version = "0.5.1"
dependencies = [ dependencies = [
"atomic_float", "atomic_float",
"better-panic", "better-panic",

View file

@ -1,5 +1,5 @@
[workspace.package] [workspace.package]
version = "0.5.0" version = "0.5.1"
[workspace] [workspace]
resolver = "2" resolver = "2"

View file

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