Closed pokey closed 7 months ago
Nice! It does make sense to get a sane default to the same action / logic as community so it offers a more seemless experience. I myself use a very lean set of community however, and I do want to keep the HUD free from any implicit dependencies other than Talon. I'll merge it and tweak it so it works outside of community as well.
This PR leverages the
user.history_transform_phrase_text
action to allow users to customize the way that phrase history is processed. For example, a user could remove everything afterdrowse
so as not to pollute command history. See eg https://github.com/pokey/pokey_talon/blob/main/custom/code/history.py.This functionality was introduced to community in https://github.com/talonhub/community/pull/758 two years ago, so should be safe to rely upon