Fix: compile on windows
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dorian Zedler 2023-02-17 14:50:44 +01:00
parent cc3f7222cb
commit 9645fb0052
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -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(|_| ())
}