Define shared bus type
This commit is contained in:
parent
325fc5620f
commit
f01887463f
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ pub enum AppInstruction {
|
||||||
Error(String),
|
Error(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub struct Bus<T> {
|
||||||
/// Start Zellij with the specified [`OsApi`] and command-line arguments.
|
/// Start Zellij with the specified [`OsApi`] and command-line arguments.
|
||||||
// FIXME this should definitely be modularized and split into different functions.
|
// FIXME this should definitely be modularized and split into different functions.
|
||||||
pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs) {
|
pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue