Update ratatui deps

This commit is contained in:
itsjunetime
2024-11-13 10:16:05 -07:00
parent e51e9d3464
commit 927a9cb587
8 changed files with 577 additions and 71 deletions
+1 -5
View File
@@ -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,