I initially made it so that ModalMachine allowed Step::step to not produce any actions, primarily for input sequences that transitioned between modes. I think that this is the right way for Step::step to work, but while working on #57 , I realized that it makes it hard for anything outside to tell when a full, meaningful key sequence has been entered. I'm going to change it so that if no actions are generated by Step::step or ModeKeys::unmapped, then a Default one is instead.
I initially made it so that
ModalMachine
allowedStep::step
to not produce any actions, primarily for input sequences that transitioned between modes. I think that this is the right way forStep::step
to work, but while working on #57 , I realized that it makes it hard for anything outside to tell when a full, meaningful key sequence has been entered. I'm going to change it so that if no actions are generated byStep::step
orModeKeys::unmapped
, then aDefault
one is instead.