mirror of
https://github.com/itsjunetime/tdf.git
synced 2026-06-02 08:01:47 -04:00
Update ratatui deps
This commit is contained in:
+1
-5
@@ -125,11 +125,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
// We need to create `picker` on this thread because if we create it on the `renderer` thread,
|
||||
// it messes up something with user input. Input never makes it to the crossterm thing
|
||||
let mut picker = Picker::new((
|
||||
window_size.width / window_size.columns,
|
||||
window_size.height / window_size.rows
|
||||
));
|
||||
picker.guess_protocol();
|
||||
let picker = Picker::from_query_stdio()?;
|
||||
|
||||
// then we want to spawn off the rendering task
|
||||
// We need to use the thread::spawn API so that this exists in a thread not owned by tokio,
|
||||
|
||||
Reference in New Issue
Block a user