diff options
author | Chet Gurevitch <chetgurevitch@protonmail.com> | 2017-10-11 18:52:23 -0700 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-12-23 21:39:09 -0800 |
commit | 76ca679e89cd7f431652e06892b791b5f8c43cf9 (patch) | |
tree | f4594990e94f8cfc94d90dd965cd14fe916557bc /src/config.rs | |
parent | ae533e660f649413af15c2a826497de423a5211b (diff) | |
download | alacritty-76ca679e89cd7f431652e06892b791b5f8c43cf9.tar.gz alacritty-76ca679e89cd7f431652e06892b791b5f8c43cf9.zip |
Update bitflags to v1
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.rs b/src/config.rs index d8f96fce..7d3fa16f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -505,10 +505,10 @@ impl<'a> de::Deserialize<'a> for ModeWrapper { for modifier in value.split('|') { match modifier.trim() { - "AppCursor" => res.mode |= mode::APP_CURSOR, - "~AppCursor" => res.not_mode |= mode::APP_CURSOR, - "AppKeypad" => res.mode |= mode::APP_KEYPAD, - "~AppKeypad" => res.not_mode |= mode::APP_KEYPAD, + "AppCursor" => res.mode |= mode::TermMode::APP_CURSOR, + "~AppCursor" => res.not_mode |= mode::TermMode::APP_CURSOR, + "AppKeypad" => res.mode |= mode::TermMode::APP_KEYPAD, + "~AppKeypad" => res.not_mode |= mode::TermMode::APP_KEYPAD, _ => eprintln!("unknown mode {:?}", modifier), } } |