mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
down to 48 ugly ones
This commit is contained in:
parent
57eff50973
commit
4fe51b5267
9 changed files with 104 additions and 101 deletions
|
|
@ -18,14 +18,14 @@ pub fn view_transport (
|
|||
}
|
||||
|
||||
pub fn view_status (
|
||||
sel: Arc<str>,
|
||||
sel: Option<Arc<str>>,
|
||||
sr: Arc<RwLock<String>>,
|
||||
buf: Arc<RwLock<String>>,
|
||||
lat: Arc<RwLock<String>>,
|
||||
) -> impl Content<TuiOut> {
|
||||
let theme = ItemTheme::G[96];
|
||||
Tui::bg(Black, row!(Bsp::a(
|
||||
Fill::xy(Align::w(FieldH(theme, "Selected", sel))),
|
||||
Fill::xy(Align::w(sel.map(|sel|FieldH(theme, "Selected", sel)))),
|
||||
Fill::xy(Align::e(row!(
|
||||
FieldH(theme, "SR", sr),
|
||||
FieldH(theme, "Buf", buf),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue