mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
display/play/stop transport
This commit is contained in:
parent
265dc13248
commit
1f928fba9d
8 changed files with 251 additions and 177 deletions
|
|
@ -37,7 +37,7 @@ pub fn render_box (
|
|||
let edge: String = std::iter::repeat("━").take(w.saturating_sub(2) as usize).collect();
|
||||
stdout.queue(MoveTo(x, y))?.queue(PrintStyledContent(format!("┏{edge}┓").bold().yellow()))?;
|
||||
if let Some(title) = title {
|
||||
stdout.queue(MoveTo(x+1, y))?.queue(PrintStyledContent(format!(" {title} ").bold().yellow()))?;
|
||||
stdout.queue(MoveTo(x+1, y))?.queue(PrintStyledContent(format!(" {title} ").yellow()))?;
|
||||
}
|
||||
for row in y+1..y+h {
|
||||
stdout.queue(MoveTo(x, row))?.queue(PrintStyledContent("┃".bold().yellow()))?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue