Skip to content

Commit

Permalink
macos: Enter the additional chunks with fast_text
Browse files Browse the repository at this point in the history
  • Loading branch information
pentamassiv committed Oct 27, 2024
1 parent f3403c8 commit 3ac1b37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macos/macos_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,12 @@ impl Keyboard for Enigo {
continue;
}
if chunk.starts_with('\r') {
self.text("\u{200B}\r")?;
self.fast_text("\u{200B}\r")?;
chunk = &chunk[1..];
continue;
}
if chunk.starts_with('\n') {
self.text("\u{200B}\n")?;
self.fast_text("\u{200B}\n")?;
chunk = &chunk[1..];
continue;
}
Expand Down

0 comments on commit 3ac1b37

Please sign in to comment.