Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list results seem to be unmapped unexpectedly #129

Closed
rntz opened this issue Oct 13, 2020 · 2 comments
Closed

list results seem to be unmapped unexpectedly #129

rntz opened this issue Oct 13, 2020 · 2 comments

Comments

@rntz
Copy link

rntz commented Oct 13, 2020

Consider https://github.com/knausj85/knausj_talon/blob/master/code/keys.py#L238

If I replace all the uses of captures/angle brackets, <self.letter>, with uses of the corresponding lists/curly brackets, {self.letter}, then unmodified_key stops working, because it produces things that haven't been mapped through the list. For example, spoken "one" produces "one" rather than "1".

The result of annotating the code with a print statement, print(m, str(m), m[0]) is:

2020-10-13 13:00:16    IO DECODED ['control', 'one']
2020-10-13 13:00:16    IO one one one

I'd like to minify this but I haven't had time yet.

@lunixbochs
Copy link

Should be fixed in next beta.

@rntz
Copy link
Author

rntz commented Nov 1, 2020

Seems fixed as of talon 0.1.2-76.

@rntz rntz closed this as completed Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants