Get terminal turning on

This commit is contained in:
Mikayla 2023-12-01 17:01:57 -08:00
parent 6730ff3624
commit fe83919746
No known key found for this signature in database
5 changed files with 223 additions and 241 deletions

View file

@ -976,6 +976,7 @@ impl Terminal {
}
pub fn try_sync(&mut self, cx: &mut ModelContext<Self>) {
println!("trying to sync");
let term = self.term.clone();
let mut terminal = if let Some(term) = term.try_lock_unfair() {