aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client
diff options
context:
space:
mode:
authorFrank Hamand <frank.hamand@coinbase.com>2022-06-13 09:33:05 +0100
committerGitHub <noreply@github.com>2022-06-13 09:33:05 +0100
commitab994e3c827c65966ebc9cd2ac1d3a6048f042bc (patch)
tree5b0cd9d58b5f41caca9e6d758abb99fb372c5a28 /atuin-client
parentAdd configurable history length (#447) (diff)
downloadatuin-ab994e3c827c65966ebc9cd2ac1d3a6048f042bc.zip
Batch key handling (#448)
* Batch input events and only query once they are finished This simplifies the code a lot (no more bounded channel) and yields the same performance improvement with scroll wheel spam while fixing copy/paste * Clippy * fmt * Use blocking wait before emptying events channel This was causing a busy loop * Update query on filter mode change
Diffstat (limited to 'atuin-client')
-rw-r--r--atuin-client/src/settings.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/src/settings.rs b/atuin-client/src/settings.rs
index f0af4993..863a5b9b 100644
--- a/atuin-client/src/settings.rs
+++ b/atuin-client/src/settings.rs
@@ -24,7 +24,7 @@ pub enum SearchMode {
Fuzzy,
}
-#[derive(Clone, Debug, Deserialize, Copy)]
+#[derive(Clone, Debug, Deserialize, Copy, PartialEq)]
pub enum FilterMode {
#[serde(rename = "global")]
Global,