show sample names

This commit is contained in:
🪞👃🪞 2025-01-02 19:09:25 +01:00
parent 511ff91864
commit 5bc19a45d2
8 changed files with 23 additions and 25 deletions

View file

@ -31,7 +31,7 @@ pub trait BorderStyle: Send + Sync + Copy {
Bordered(self, w)
}
fn enclose <W: Content<Tui>> (self, w: W) -> impl Content<Tui> {
Tui::bg(self.style().unwrap().bg.unwrap(), lay!(Fill::xy(Border(self)), w))
Tui::bg(self.style().unwrap().bg.unwrap_or(Color::Reset), lay!(Fill::xy(Border(self)), w))
}
const NW: &'static str = "";
const N: &'static str = "";