mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-10 21:56:42 +01:00
move tui run methods to in/out and relax Sized constraint
This commit is contained in:
parent
44201ebf76
commit
6fd87ce4ed
5 changed files with 169 additions and 211 deletions
|
|
@ -23,12 +23,9 @@ mod tui_border; pub use self::tui_border::*;
|
|||
mod tui_field; pub use self::tui_field::*;
|
||||
mod tui_buffer; pub use self::tui_buffer::*;
|
||||
mod tui_file; pub use self::tui_file::*;
|
||||
|
||||
mod tui_edn_keymap; pub use self::tui_edn_keymap::*;
|
||||
|
||||
pub(crate) use std::sync::{Arc, RwLock, atomic::{AtomicUsize, AtomicBool, Ordering::*}};
|
||||
pub(crate) use std::sync::{Arc, RwLock, atomic::{AtomicBool, Ordering::*}};
|
||||
pub(crate) use std::io::{stdout, Stdout};
|
||||
pub(crate) use std::error::Error;
|
||||
pub(crate) use std::path::PathBuf;
|
||||
pub(crate) use std::ffi::OsString;
|
||||
|
||||
|
|
@ -49,7 +46,7 @@ pub use ::crossterm;
|
|||
pub(crate) use crossterm::{
|
||||
ExecutableCommand,
|
||||
terminal::{EnterAlternateScreen, LeaveAlternateScreen, enable_raw_mode, disable_raw_mode},
|
||||
event::{KeyCode, KeyModifiers, KeyEvent, KeyEventKind, KeyEventState},
|
||||
event::{Event, KeyEvent, KeyCode, KeyModifiers, KeyEventKind, KeyEventState},
|
||||
};
|
||||
|
||||
pub use ::ratatui;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue