Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeySequence send doesn't work properly, It didn't print the whole world #79

Open
bmariuszb opened this issue Aug 18, 2023 · 3 comments
Open

Comments

@bmariuszb
Copy link

Here is the code example

use inputbot::KeySequence;

fn main() {
    KeySequence("Hello, world!").send()
}

Command:
sleep 2 && cargo run
Switch to other terminal
Output in the second terminal:
lo, world!
This is on linux Hyprland.

@Redhawk18
Copy link
Contributor

I've also experienced this behavior on the steamdeck. I believe it's because of system level reasons, but i have no proof.

@bmariuszb
Copy link
Author

I also tested it on Xorg AwesomeWm and the results are similar, so it's not related to Wayland only.

@bmariuszb
Copy link
Author

Also I should mention that it's not like it cuts exactly the same number of characters, sometimes it's one more or one less

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants