mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-14 11:35:48 +00:00
explain mask
This commit is contained in:
committed by
Mitchell Hashimoto
parent
e268ff9a8b
commit
44d2ea25d0
@@ -5545,6 +5545,7 @@ pub const Palette = struct {
|
||||
/// The actual value that is updated as we parse.
|
||||
value: terminal.color.Palette = terminal.color.default,
|
||||
|
||||
/// Keep track of which indexes were manually set by the user.
|
||||
mask: Mask = .initEmpty(),
|
||||
|
||||
const Mask = std.StaticBitSet(@typeInfo(terminal.color.Palette).array.len);
|
||||
|
||||
Reference in New Issue
Block a user