6 Commits

Author SHA1 Message Date
cryptocode
dbe6d6c29c Inspector: change color picker to use hex values
The inspector currently show colors as decimal r,g,b values. With this change,
the hex format is used instead.

The motivation for this is that references to color typically use the hex format. One example
is the palette definitions in a color scheme. Using the inspector/cell picker to help
create and debug color themes should be more convenient after this change.

If there's a usecase for the decimal format, we could add a config option or maybe a switch
in the inspector UI.
2024-08-28 17:55:59 +02:00
Mitchell Hashimoto
62932f3631 inspector: cell selection works again 2024-03-22 20:28:04 -07:00
Gregory Anders
060bdff117 terminal: track palette color in cell state
Rather than immediately converting a color palette index into an RGB
value for a cell color, when a palette color is used track the palette
color directly in the cell state and convert to an RGB value in the
renderer.

This causes palette color changes to take effect immediately instead of
only for newly drawn cells.
2024-01-02 22:34:06 -06:00
Mitchell Hashimoto
fac2e470d9 inspector: add cursor style to inspector panel 2023-11-05 22:02:51 -08:00
Mitchell Hashimoto
2ecbc8d04e inspector: add OSC command metadata to inspector 2023-10-25 08:55:15 -07:00
Mitchell Hashimoto
7604bf1cac inspector: forgot a file 2023-10-24 21:57:14 -07:00