Files
alacritty/src
Mark Andrus Roberts f1ea49b75d Lazily reset start_time in VisualBell's completed method
Fixes #416. Here's what I think is happening: at short `duration`s, the
VisualBell's [`completed` check](https://github.com/jwilm/alacritty/blob/3ce6e1e4b2924b0d432cbb3e62b4bbef88dd38ff/src/term/mod.rs#L377)
is returning `true` before we've actually had a chance to draw the "normal"
background color. I thought about driving this condition off of whether or not
`intensity` returns 0.0, but we may still miss a draw, I think. Perhaps the best
way to tackle this is to let `completed` lazily reset the VisualBell's
`start_time` (something @jwilm asked about when this feature originally landed),
and to only return `true` when the VisualBell's `start_time` is `None`. This
should effectively delay the final draw until after the VisualBell completes.
2017-02-22 20:57:00 -08:00
..
2017-02-11 14:18:05 -08:00
2017-02-06 20:45:17 -08:00
2017-02-22 14:49:29 -08:00
2017-02-11 14:18:05 -08:00
2017-01-06 20:44:51 -08:00
2017-02-07 21:04:18 -08:00
2017-01-26 08:43:53 -08:00
2017-01-23 09:14:01 -08:00
2016-12-16 22:48:04 -08:00
2017-01-06 20:44:51 -08:00
2016-09-23 10:12:11 -07:00
2017-02-14 08:53:18 -08:00
2017-01-06 20:44:51 -08:00