Fixed bel bug

This commit is contained in:
Mikayla Maki 2022-08-02 11:58:24 -07:00
parent 937cd582e8
commit 8277b98104
2 changed files with 6 additions and 2 deletions

View file

@ -377,7 +377,6 @@ impl TerminalBuilder {
loop {
let utilization = match this.upgrade(&cx) {
Some(this) => this.update(&mut cx, |this, cx| {
cx.emit(Event::Wakeup);
cx.notify();
this.utilization()
}),
@ -453,7 +452,7 @@ impl Terminal {
//NOOP, Handled in render
}
AlacTermEvent::Wakeup => {
//NOOP, Handled elsewhere
cx.emit(Event::Wakeup);
}
AlacTermEvent::ColorRequest(_, _) => {
self.events.push(InternalEvent::TermEvent(event.clone()))