commit | a2368ff92d25420f2780015f204d1904d1ccaa0a | [log] [tgz] |
---|---|---|
author | gwenn <gtreguier@gmail.com> | Mon Jul 23 21:03:51 2018 +0200 |
committer | gwenn <gtreguier@gmail.com> | Mon Jul 23 21:03:51 2018 +0200 |
tree | 8d0a37f367178012d140151cf0313a4e3609f4fa | |
parent | 806ddccbb18b2e2bd490bbbe6d72c3a1833e2c1b [diff] |
Fix History config
diff --git a/src/history.rs b/src/history.rs index d4e0c94..8cbcc23 100644 --- a/src/history.rs +++ b/src/history.rs
@@ -36,8 +36,8 @@ History { entries: VecDeque::new(), max_len: config.max_history_size(), - ignore_space: config.history_duplicates() == HistoryDuplicates::IgnoreConsecutive, - ignore_dups: config.history_ignore_space(), + ignore_space: config.history_ignore_space(), + ignore_dups: config.history_duplicates() == HistoryDuplicates::IgnoreConsecutive, } }