terminal: another enum in a packed struct needs backing int

This commit is contained in:
Mitchell Hashimoto
2024-04-12 14:51:25 -07:00
parent b915c61fee
commit 910c8cb04a

View File

@ -112,7 +112,7 @@ flags: packed struct {
/// Set via the XTSHIFTESCAPE sequence. If true (XTSHIFTESCAPE = 1)
/// then we want to capture the shift key for the mouse protocol
/// if the configuration allows it.
mouse_shift_capture: enum { null, false, true } = .null,
mouse_shift_capture: enum(u2) { null, false, true } = .null,
} = .{},
/// The event types that can be reported for mouse-related activities.