joshgoebel / keyszer

a smart, flexible keymapper for X11 (a fork/reboot of xkeysnail )
Other
69 stars 15 forks source link

(DRAFT) Pass context to additional handle_commands instances #148

Open RedBearAK opened 1 year ago

RedBearAK commented 1 year ago

Changes

Two additional instances of handle_commands need to be passing the context object that is now required in the function definition. One instance (trigger immediately) has been tested. The other instance, which may no longer be called after I changed the string and Unicode processor helper functions to return inner functions, I'm not sure how to test.

So I'm marking this as a DRAFT.

Fixing the first instance also fixes an error when running pytest.