diff options
author | Canop <cano.petrole@gmail.com> | 2022-03-27 08:23:44 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2022-03-27 08:23:44 +0200 |
commit | 68ca143c0d8f5a8b871cafc7e283423a113f6959 (patch) | |
tree | 40a3284e25f63d3bc2801cbd4ca9d1b5eb53cbf8 /src/conf/conf.rs | |
parent | f9fe6efebf3ce4e32d93705db8decc2019f7112f (diff) |
add the (already documented) capture_mouse conf item
See https://github.com/Canop/broot/issues/238
Diffstat (limited to 'src/conf/conf.rs')
-rw-r--r-- | src/conf/conf.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf/conf.rs b/src/conf/conf.rs index dde306c..f94db83 100644 --- a/src/conf/conf.rs +++ b/src/conf/conf.rs @@ -59,9 +59,13 @@ pub struct Conf { #[serde(alias="search-modes")] pub search_modes: Option<FnvHashMap<String, String>>, + /// Obsolete, kept for compatibility: you should now use capture_mouse #[serde(alias="disable-mouse-capture")] pub disable_mouse_capture: Option<bool>, + #[serde(alias="capture-mouse")] + pub capture_mouse: Option<bool>, + #[serde(alias="cols-order")] pub cols_order: Option<ColsConf>, @@ -147,6 +151,7 @@ impl Conf { overwrite!(self, icon_theme, conf); overwrite!(self, syntax_theme, conf); overwrite!(self, disable_mouse_capture, conf); + overwrite!(self, capture_mouse, conf); overwrite!(self, true_colors, conf); overwrite!(self, show_selection_mark, conf); overwrite!(self, cols_order, conf); |