mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
unify init naming; GrooveboxTui -> Groovebox
This commit is contained in:
parent
6607491f16
commit
0c9c386a79
7 changed files with 20 additions and 20 deletions
|
|
@ -2,7 +2,8 @@ include!("./lib.rs");
|
|||
|
||||
/// Application entrypoint.
|
||||
pub fn main () -> Usually<()> {
|
||||
Tui::run(JackConnection::new("tek_transport")?.activate_with(|jack|{
|
||||
let name = self.name.as_deref().unwrap_or("tek_transport");
|
||||
Tui::run(JackConnection::new(name)?.activate_with(|jack|{
|
||||
TransportTui::try_from(jack)
|
||||
})?)?;
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue