aboutsummaryrefslogtreecommitdiff
path: root/alacritty
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-10-30 06:22:13 +0000
committerGitHub <noreply@github.com>2020-10-30 09:22:13 +0300
commit9028fb451a967d69a9e258a083ba64b052a9a5dd (patch)
tree684f28002202fec3a2891ea75da00bfed393dfbc /alacritty
parentbede5d5d1c19da32a0b7fd0cb4ab9e369aa94eb8 (diff)
downloadr-alacritty-9028fb451a967d69a9e258a083ba64b052a9a5dd.tar.gz
r-alacritty-9028fb451a967d69a9e258a083ba64b052a9a5dd.tar.bz2
r-alacritty-9028fb451a967d69a9e258a083ba64b052a9a5dd.zip
Fix visual bell getting stuck
This resolves a problem with the visual bell where it would not automatically trigger a redraw itself after the initial frame has been rendered. Since the unit of the visual bell duration is also unclear, it has been clarified.
Diffstat (limited to 'alacritty')
-rw-r--r--alacritty/src/event.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/alacritty/src/event.rs b/alacritty/src/event.rs
index 7c3e786d..6c5318f6 100644
--- a/alacritty/src/event.rs
+++ b/alacritty/src/event.rs
@@ -874,6 +874,8 @@ impl<N: Notify + OnResize> Processor<N> {
if !terminal.visual_bell.completed() {
let event: Event = TerminalEvent::Wakeup.into();
self.event_queue.push(event.into());
+
+ *control_flow = ControlFlow::Poll;
}
// Redraw screen.