talonvoice / beta

Issue tracker for the private Talon Beta
10 stars 0 forks source link

list results seem to be unmapped unexpectedly #129

Closed rntz closed 3 years ago

rntz commented 3 years ago

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 commented 3 years ago

Should be fixed in next beta.

rntz commented 3 years ago

Seems fixed as of talon 0.1.2-76.