tengri 0.1.1: doesnt crash, doesnt look right either

This commit is contained in:
🪞👃🪞 2025-03-16 23:45:14 +02:00
parent 70fd1efc1e
commit 74ce1b9f55
3 changed files with 15 additions and 19 deletions

View file

@ -55,9 +55,7 @@ where A: Content<TuiOut>, B: Content<TuiOut>, C: Content<TuiOut> {
}
pub(crate) fn wrap (
bg: Color,
fg: Color,
content: impl Content<TuiOut>
bg: Color, fg: Color, content: impl Content<TuiOut>
) -> impl Content<TuiOut> {
Bsp::e(Tui::fg_bg(bg, Reset, ""),
Bsp::w(Tui::fg_bg(bg, Reset, ""),
@ -65,9 +63,7 @@ pub(crate) fn wrap (
}
pub(crate) fn button_2 <'a, K, L> (
key: K,
label: L,
editing: bool,
key: K, label: L, editing: bool,
) -> impl Content<TuiOut> + 'a where
K: Content<TuiOut> + 'a,
L: Content<TuiOut> + 'a,