mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
wip: ratatui
This commit is contained in:
parent
edc363c55b
commit
fc7f6f5407
16 changed files with 485 additions and 243 deletions
|
|
@ -19,9 +19,19 @@ pub use crossterm::{
|
|||
QueueableCommand,
|
||||
event::{self, KeyCode, KeyModifiers},
|
||||
cursor::{self, MoveTo, Show, Hide},
|
||||
terminal::{self, Clear, ClearType},
|
||||
terminal::{
|
||||
self,
|
||||
Clear, ClearType,
|
||||
EnterAlternateScreen, LeaveAlternateScreen,
|
||||
enable_raw_mode, disable_raw_mode
|
||||
},
|
||||
style::*,
|
||||
};
|
||||
pub use ratatui::{
|
||||
prelude::*,
|
||||
widgets::WidgetRef,
|
||||
//style::Stylize,
|
||||
};
|
||||
pub use jack::{
|
||||
AsyncClient,
|
||||
AudioIn,
|
||||
|
|
@ -45,4 +55,8 @@ 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::{Exitable, Event};
|
||||
pub use crate::engine::{
|
||||
Exitable,
|
||||
HandleInput,
|
||||
Event
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue