Fixed bel bug
This commit is contained in:
parent
937cd582e8
commit
8277b98104
2 changed files with 6 additions and 2 deletions
|
@ -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()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue