There's currently several Action types for recording macros (MacroExecute, MacroRepeat, MacroRecordToggle), and EditRepeat, but nothing to use them with. I'll need to figure out a way to store recorded macros in the target register, and allow passing the contents along to a ModalMachine instance.
crossterm doesn't have a way to parse a string into a KeyEvent vector, or convert a KeyEvent into it ANSI escape sequence, which would make implementing this easier.
There's currently several
Action
types for recording macros (MacroExecute
,MacroRepeat
,MacroRecordToggle
), andEditRepeat
, but nothing to use them with. I'll need to figure out a way to store recorded macros in the target register, and allow passing the contents along to aModalMachine
instance.crossterm
doesn't have a way to parse a string into aKeyEvent
vector, or convert aKeyEvent
into it ANSI escape sequence, which would make implementing this easier.