diff options
| author | Daniel Brooks <db48x@db48x.net> | 2021-06-20 20:22:37 -0700 |
|---|---|---|
| committer | Daniel Brooks <db48x@db48x.net> | 2021-06-20 20:22:37 -0700 |
| commit | 573dedd888973c944683c156c42a7fb2cd0b6832 (patch) | |
| tree | f4d6eaead35ec6ab3c5917f71c16e0d25ff612c5 | |
| parent | ae7aa4b5a3ef01a323fa27e0a208d40111b6b11a (diff) | |
| download | r-alacritty-573dedd888973c944683c156c42a7fb2cd0b6832.tar.gz r-alacritty-573dedd888973c944683c156c42a7fb2cd0b6832.tar.bz2 r-alacritty-573dedd888973c944683c156c42a7fb2cd0b6832.zip | |
put the TermMode back to just u32; I had miscounted the bits
| -rw-r--r-- | alacritty_terminal/src/term/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index 7849dd5e..538801bc 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -46,7 +46,7 @@ const TITLE_STACK_MAX_DEPTH: usize = 4096; const INITIAL_TABSTOPS: usize = 8; bitflags! { - pub struct TermMode: u64 { + pub struct TermMode: u32 { const NONE = 0; const SHOW_CURSOR = 0b0000_0000_0000_0000_0001; const APP_CURSOR = 0b0000_0000_0000_0000_0010; @@ -70,7 +70,7 @@ bitflags! { const SIXEL_SCROLLING = 0b0100_0000_0000_0000_0000; const SIXEL_PRIV_PALETTE = 0b1000_0000_0000_0000_0000; const SIXEL_CURSOR_TO_THE_RIGHT = 0b0001_0000_0000_0000_0000_0000; - const ANY = std::u64::MAX; + const ANY = std::u32::MAX; } } |