hi!how can i disable the repeat of the keyboard input ?i've tryed with the set_keyboard_rate() function but it isnt working :/an example of how to use it would be good ...
would clear_keybuf() work.
From the manual:
void set_keyboard_rate(int delay, int repeat);
Sets the keyboard repeat rate. Times are given in milliseconds. Passing zero times will disable the key repeat.
Works for me.
EDIT: Hmm, apparently not. I remember this used to work when I was on Windows. Now I'm on Linux and just tried a simple test with the above code and it doesn't work. Like set_keyboard_rate() is completely ignored.
My full test: