summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs8
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),
}
}