mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
tengri 0.1.1: doesnt crash, doesnt look right either
This commit is contained in:
parent
70fd1efc1e
commit
74ce1b9f55
3 changed files with 15 additions and 19 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue