diff options
| author | Aram Drevekenin <aram@poor.dev> | 2021-09-30 10:25:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-30 10:25:48 +0200 |
| commit | d7e4ec65db028f1ea231d4bee689be394f95cbf5 (patch) | |
| tree | aa99bde6c270512dd2c462908095753f6a85876c /zellij-client/src/unit/input_handler_tests.rs | |
| parent | fix(makefile): update `update-default-config` (#751) (diff) | |
| download | sl0ppij-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.rs | 9 |
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( |
