panic hook; two sequencers

This commit is contained in:
🪞👃🪞 2024-06-07 15:37:27 +03:00
parent 0ee9e58dc7
commit abee6cc2c8
16 changed files with 927 additions and 828 deletions

View file

@ -16,7 +16,8 @@ pub use std::sync::{
mpsc::{self, channel, Sender, Receiver}
};
pub use crossterm::{
QueueableCommand,
QueueableCommand,
ExecutableCommand,
event::{self, KeyCode, KeyModifiers},
cursor::{self, MoveTo, Show, Hide},
terminal::{
@ -56,7 +57,9 @@ pub use jack::{
pub type BoxedProcessHandler = Box<dyn FnMut(&Client, &ProcessScope)-> Control + Send>;
pub type Jack<N> = AsyncClient<N, ClosureProcessHandler<BoxedProcessHandler>>;
pub use crate::engine::{
Component,
Exitable,
HandleInput,
Event
};
pub use crate::render::{draw_box, draw_leaf};