aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-client/src/unit/input_handler_tests.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2021-09-30 10:25:48 +0200
committerGitHub <noreply@github.com>2021-09-30 10:25:48 +0200
commitd7e4ec65db028f1ea231d4bee689be394f95cbf5 (patch)
treeaa99bde6c270512dd2c462908095753f6a85876c /zellij-client/src/unit/input_handler_tests.rs
parentfix(makefile): update `update-default-config` (#751) (diff)
downloadsl0ppij-d7e4ec65db028f1ea231d4bee689be394f95cbf5.tar.gz
sl0ppij-d7e4ec65db028f1ea231d4bee689be394f95cbf5.tar.xz
sl0ppij-d7e4ec65db028f1ea231d4bee689be394f95cbf5.zip
hotfix(stdin): poll for mouse hold in the stdin thread (#752)
* hotfix(stdin): poll for mouse hold in the stdin thread * add missing dont panic * style(fmt): make rustfmt happy
Diffstat (limited to 'zellij-client/src/unit/input_handler_tests.rs')
-rw-r--r--zellij-client/src/unit/input_handler_tests.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/zellij-client/src/unit/input_handler_tests.rs b/zellij-client/src/unit/input_handler_tests.rs
index c2cf784b..f4beb53a 100644
--- a/zellij-client/src/unit/input_handler_tests.rs
+++ b/zellij-client/src/unit/input_handler_tests.rs
@@ -8,7 +8,10 @@ use zellij_utils::termion::event::Key;
use zellij_utils::zellij_tile::data::Palette;
use crate::InputInstruction;
-use crate::{os_input_output::ClientOsApi, ClientInstruction, CommandIsExecuting};
+use crate::{
+ os_input_output::{ClientOsApi, StdinPoller},
+ ClientInstruction, CommandIsExecuting,
+};
use std::path::Path;
@@ -133,7 +136,9 @@ impl ClientOsApi for FakeClientOsApi {
}
fn enable_mouse(&self) {}
fn disable_mouse(&self) {}
- fn start_action_repeater(&mut self, _action: Action) {}
+ fn stdin_poller(&self) -> StdinPoller {
+ unimplemented!()
+ }
}
fn extract_actions_sent_to_server(