0
Hello I was testing the module "Keyboard" in python and I did not find a good explanation nor in the module documentation about a parameter (if I am wrong correct me) called "Supress" in some functions of the program, for example:
add_hotkey(hotkey, callback, args=(), Suppress=False, timeout=1, trigger_on_release=False)
"suppress
defines if Successful triggers should block the Keys from being
sent to other Programs." - This is the explanation that program HELP gives.
But in practice, what does that mean? I figured it was to prevent commands from being read outside the terminal but it doesn’t seem that this is the case.
Yeah, that’s right. With the
suppress=True
the read command will not be propagated to other programs. Why does it state that it does not appear to be that?– Woss
Because when I tested this the command could still write outside the python terminal. (In this case, with a write command, obviously)
– Derkson