mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
refactor: separate Render from Handle
This commit is contained in:
parent
d9b3bd150e
commit
72ead536be
12 changed files with 255 additions and 212 deletions
|
|
@ -1,44 +1,15 @@
|
|||
pub type Usually<T> = Result<T, Box<dyn Error>>;
|
||||
|
||||
pub use crate::draw::*;
|
||||
|
||||
pub use crate::device::{
|
||||
Device,
|
||||
DynamicDevice,
|
||||
AppEvent,
|
||||
};
|
||||
|
||||
pub use crate::device::*;
|
||||
pub use crate::time::*;
|
||||
|
||||
pub use crate::layout::{
|
||||
Row,
|
||||
Column,
|
||||
FocusRow,
|
||||
FocusColumn,
|
||||
Focus,
|
||||
FocusEvent,
|
||||
handle_focus,
|
||||
draw_box,
|
||||
draw_box_styled,
|
||||
draw_row,
|
||||
draw_column,
|
||||
};
|
||||
pub use crate::port::*;
|
||||
pub use crate::layout::*;
|
||||
|
||||
pub use std::error::Error;
|
||||
|
||||
pub use std::io::{
|
||||
stdout,
|
||||
Stdout,
|
||||
Write
|
||||
};
|
||||
|
||||
pub use std::thread::{
|
||||
spawn,
|
||||
JoinHandle
|
||||
};
|
||||
|
||||
pub use std::io::{stdout, Stdout, Write};
|
||||
pub use std::thread::{spawn, JoinHandle};
|
||||
pub use std::time::Duration;
|
||||
|
||||
pub use std::sync::{
|
||||
Arc,
|
||||
Mutex,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue