aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/event_loop.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-04-02 21:36:35 +0000
committerGitHub <noreply@github.com>2021-04-02 21:36:35 +0000
commit531e494cf9a90de91dbbb84cb6cfc3158b78f1f2 (patch)
tree80015da8acdb3b5775467f952275c4cc0b464dcb /alacritty_terminal/src/event_loop.rs
parent58cae8f2edf44e6bf0721543c61edb57bdf7d776 (diff)
downloadalacritty-531e494cf9a90de91dbbb84cb6cfc3158b78f1f2.tar.gz
alacritty-531e494cf9a90de91dbbb84cb6cfc3158b78f1f2.zip
Fix focused match selection color
In 3bd5ac221ab3b122962063edd1f4c10f9f2d117f a regression was introduced which caused the selection of a focused match to invert the cell color back to its original color. This was due to the removal of the `is_match` flag on the renderable cell, which was used to make sure a cell is not marked as part of a match if it is already part of a selection. Instead of relying on a flag that is passed through from content.rs, the application of the cell colors is instead done in the content.rs file directly. This not only fixes the bug with selecting the focused match, but also makes the logic a bit more transparent. Fixes #4934.
Diffstat (limited to 'alacritty_terminal/src/event_loop.rs')
0 files changed, 0 insertions, 0 deletions