mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-04-25 13:40:43 +02:00
re-add tui_main, fixing examples
This commit is contained in:
parent
a93fe92a59
commit
6c382e2627
7 changed files with 89 additions and 44 deletions
|
|
@ -8,3 +8,10 @@ impl Exit {
|
|||
run(Self(Arc::new(AtomicBool::new(false))))
|
||||
}
|
||||
}
|
||||
|
||||
impl AsRef<Arc<AtomicBool>> for Exit {
|
||||
fn as_ref (&self) -> &Arc<AtomicBool> {
|
||||
&self.0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue