Fix: compile on windows
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cc3f7222cb
commit
9645fb0052
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ pub fn type_text(text: &str) -> Result<(),()>{
|
||||||
pub fn click_button(button: ContinueButton) -> Result<(),()> {
|
pub fn click_button(button: ContinueButton) -> Result<(),()> {
|
||||||
let button = match button {
|
let button = match button {
|
||||||
ContinueButton::Tab => simulate::Key::Tab,
|
ContinueButton::Tab => simulate::Key::Tab,
|
||||||
ContinueButton::Enter => simulate::Key::Return,
|
ContinueButton::Enter => simulate::Key::Enter,
|
||||||
};
|
};
|
||||||
simulate::send(button).map_err(|_| ())
|
simulate::send(button).map_err(|_| ())
|
||||||
}
|
}
|
Loading…
Reference in a new issue