diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | alacritty.yml | 4 | ||||
-rw-r--r-- | alacritty/src/event.rs | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f9c71df0..35d3b92f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Feature checking when cross compiling between different operating systems - Crash when writing to the clipboard fails on Wayland - Crash with large negative `font.offset.x/y` +- Visual bell getting stuck on the first frame ## 0.5.0 diff --git a/alacritty.yml b/alacritty.yml index 8398235d..0b2d5365 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -297,8 +297,8 @@ # - Linear #animation: EaseOutExpo - # Duration of the visual bell flash. A `duration` of `0` will disable the - # visual bell animation. + # Duration of the visual bell flash in milliseconds. A `duration` of `0` will + # disable the visual bell animation. #duration: 0 # Visual bell animation color. 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. |