mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
big flat pt.13: fixed warnings, let's see what it has in store
This commit is contained in:
parent
e21ef1af94
commit
5bc3517dde
13 changed files with 68 additions and 45 deletions
|
|
@ -2,9 +2,9 @@ include!("./lib.rs");
|
|||
|
||||
/// Application entrypoint.
|
||||
pub fn main () -> Usually<()> {
|
||||
let name = "tek_transport";
|
||||
Tui::run(JackConnection::new(name)?.activate_with(|jack|{
|
||||
TransportTui::try_from(jack)
|
||||
})?)?;
|
||||
Ok(())
|
||||
let name = "tek_transport";
|
||||
let engine = Tui::new()?;
|
||||
let state = JackConnection::new(name)?
|
||||
.activate_with(|jack|TransportTui::try_from(jack))?;
|
||||
engine.run(&state)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue