mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 12:46:42 +01:00
wip: refactor into api and app
This commit is contained in:
parent
051c3d3663
commit
70fc3c97d1
61 changed files with 453 additions and 255 deletions
10
crates/tek_app/src/transport_cli.rs
Normal file
10
crates/tek_app/src/transport_cli.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
include!("lib.rs");
|
||||
/// Application entrypoint.
|
||||
pub fn main () -> Usually<()> {
|
||||
Tui::run(JackClient::new("tek_transport")?.activate_with(|jack|{
|
||||
let mut transport = TransportToolbar::new(jack, None);
|
||||
transport.focused = true;
|
||||
Ok(transport)
|
||||
})?)?;
|
||||
Ok(())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue