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
|
|
@ -36,8 +36,9 @@ pub struct GrooveboxCli {
|
|||
}
|
||||
impl GrooveboxCli {
|
||||
fn run (&self) -> Usually<()> {
|
||||
Tui::run(JackConnection::new("tek_groovebox")?.activate_with(|jack|{
|
||||
let app = tek::GrooveboxTui::new(
|
||||
let name = self.name.as_deref().unwrap_or("tek_groovebox");
|
||||
Tui::run(JackConnection::new(name)?.activate_with(|jack|{
|
||||
let app = tek::Groovebox::new(
|
||||
jack,
|
||||
&self.midi_from.as_slice(),
|
||||
&self.midi_to.as_slice(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue