InputBot icon indicating copy to clipboard operation
InputBot copied to clipboard

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

Open bmariuszb opened this issue 2 years ago • 3 comments

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.

bmariuszb avatar Aug 18 '23 17:08 bmariuszb

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

Redhawk18 avatar Aug 22 '23 16:08 Redhawk18

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

bmariuszb avatar Aug 22 '23 18:08 bmariuszb

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

bmariuszb avatar Aug 22 '23 18:08 bmariuszb