emit-all-misstrokes.md
Pinchord · pinchord.git · Tickets · Changelog
Branches > serial-mods > 298de4c > files / .tickets / emit-all-misstrokes.md
Currently, whether or not a misstroke actually translate to and emits anything depends on whether the stroke you accidentally pressed is valid or not.Due to the way Pinchord's Javelin orthospelling dictionary works, a stroke that contains any chords that are not in the dictionary will translate to `{}`, which is not added to the undo stack.However, if you happen to hit a chord that is not the one you intended, but is a valid chord in the dictionary, your stroke will translate to something, and will be added to the undo stack.This means that after you realize you've made a mistake, you have to react to whether the stroke actually translated into anything, and only undo it if it did.---Fixing this would require not using the Javelin orthospelling dictionary.I haven't made a ticket for it, but I am currently writing a javelin script to do this.