From 9645fb00525689741215fe60abf4c0ba567e26e3 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Fri, 17 Feb 2023 14:50:44 +0100 Subject: [PATCH] Fix: compile on windows --- receiver/src/keyboard.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receiver/src/keyboard.rs b/receiver/src/keyboard.rs index 5b40b13..26f4fa5 100644 --- a/receiver/src/keyboard.rs +++ b/receiver/src/keyboard.rs @@ -40,7 +40,7 @@ pub fn type_text(text: &str) -> Result<(),()>{ pub fn click_button(button: ContinueButton) -> Result<(),()> { let button = match button { ContinueButton::Tab => simulate::Key::Tab, - ContinueButton::Enter => simulate::Key::Return, + ContinueButton::Enter => simulate::Key::Enter, }; simulate::send(button).map_err(|_| ()) } \ No newline at end of file