rabbitgrowth / plover-tapey-tape

Plover paper tape plugin with hesitation bars and stroke suggestions
GNU General Public License v3.0
14 stars 4 forks source link

Apply config changes without restarting #5

Open paulfioravanti opened 1 year ago

paulfioravanti commented 1 year ago

I'm wagering that the Tapey Tape config in tapey_tape.json probably isn't generally expected to change that often once set, but I've recently been changing it with high enough frequency that I've added code in a Tapey Tape fork that allows config changes to be applied without needing to restart Plover.

The only issue I can see is that it relies on declared private Plover steno engine API calls:

Defense against this is to check whether the steno engine responds to the APIs before calling them so that it degrades to current behaviour.

Anyway, would this kind of change be something that you'd be interested in getting a PR for?

paulfioravanti commented 1 year ago

Actually, after taking a deep dive into steno engine hooks, I've now got a solution on my fork that:

Happy to contribute anything deemed of value back to Tapey Tape's codebase.