diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2023-05-16 07:34:03 +0300 |
---|---|---|
committer | Kirill Chibisov <contact@kchibisov.com> | 2023-05-17 08:36:41 +0300 |
commit | b1feba6916f1ccf57b0a76914946c112ec2195a2 (patch) | |
tree | fe2733e74dae013dcb4fdb22b7f933662901c685 /alacritty/src | |
parent | a6488a3e5edf1ac25c522e037c75b9d17e6bc3c6 (diff) | |
download | r-alacritty-b1feba6916f1ccf57b0a76914946c112ec2195a2.tar.gz r-alacritty-b1feba6916f1ccf57b0a76914946c112ec2195a2.tar.bz2 r-alacritty-b1feba6916f1ccf57b0a76914946c112ec2195a2.zip |
Update bitflags to 2.2.1
Diffstat (limited to 'alacritty/src')
-rw-r--r-- | alacritty/src/config/bindings.rs | 1 | ||||
-rw-r--r-- | alacritty/src/renderer/text/mod.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/alacritty/src/config/bindings.rs b/alacritty/src/config/bindings.rs index 0e50807a..692cf7e9 100644 --- a/alacritty/src/config/bindings.rs +++ b/alacritty/src/config/bindings.rs @@ -764,6 +764,7 @@ pub struct ModeWrapper { bitflags! { /// Modes available for key bindings. + #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct BindingMode: u8 { const APP_CURSOR = 0b0000_0001; const APP_KEYPAD = 0b0000_0010; diff --git a/alacritty/src/renderer/text/mod.rs b/alacritty/src/renderer/text/mod.rs index 228d2671..886b7f8b 100644 --- a/alacritty/src/renderer/text/mod.rs +++ b/alacritty/src/renderer/text/mod.rs @@ -23,6 +23,7 @@ use glyph_cache::{Glyph, LoadGlyph}; // NOTE: These flags must be in sync with their usage in the text.*.glsl shaders. bitflags! { #[repr(C)] + #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] struct RenderingGlyphFlags: u8 { const COLORED = 0b0000_0001; const WIDE_CHAR = 0b0000_0010; |