mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
wip: Content and Widget traits
This commit is contained in:
parent
5fc7da3aca
commit
b944dd5f9e
13 changed files with 209 additions and 36 deletions
|
|
@ -79,7 +79,7 @@ impl Tui {
|
|||
let _input_thread = {
|
||||
let engine = engine.clone();
|
||||
let state = state.clone();
|
||||
let poll = Duration::from_millis(100);
|
||||
let poll = Duration::from_millis(20);
|
||||
spawn(move || loop {
|
||||
if ::crossterm::event::poll(poll).is_ok() {
|
||||
let event = TuiEvent::Input(::crossterm::event::read().unwrap());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue