mirror of
https://github.com/atuinsh/atuin.git
synced 2025-08-19 03:16:54 +02:00
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
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user