Mitchell Hashimoto 3e9cfacb7d feat: support selection foreground being cell foreground (#5219)
This resolves #2685.

## Changes

* Created `SelectionColor` tagged union that can take a `Color`,
`cell-foreground`, or `cell-background`
* Used the new union to implement the feature for Metal and OpenGL
* Removed the use of `invert_selection_fg_bg` during rendering as
suggested in the issue

## Demo

macOS:


https://github.com/user-attachments/assets/b5b2db83-bb62-4929-8e3c-870a1e1a7a5c

Ubuntu:


https://github.com/user-attachments/assets/259dd707-d9d9-4590-8f3c-a67ccdef34bc


Any feedback would be helpful, I'm sure there's a lot of room for
improvement here.
2025-07-03 09:31:27 -07:00
..
2025-07-02 16:38:13 -06:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-03-11 14:39:04 -07:00
2022-12-31 08:53:11 -08:00