Merge branch 'upstream' into query-system
This commit is contained in:
commit
e1f02f8135
38 files changed
+1146
-110
No files matched your search
@@ -98,7 +98,8 @@ pub fn render<R: Driver>(
|
||||
let event_tx_clone = event_tx.clone();
|
||||
if !cfg.headless {
|
||||
std::thread::spawn(move || {
|
||||
let tick_rate = Duration::from_millis(1000);
|
||||
// Timeout after 10ms when waiting for events
|
||||
let tick_rate = Duration::from_millis(10);
|
||||
loop {
|
||||
if crossterm::event::poll(tick_rate).unwrap() {
|
||||
let evt = crossterm::event::read().unwrap();
|
||||
|
||||
Reference in new issue
Block a user