Files
RedBear-OS/local
Sisyphus 055edfe96f tlc: Round 3 — Macro replay engine (rebase fixup)
After the v5.3 driver-manager rebase rolled back the macro_replay
additions from Round 2, this commit re-adds them:

- src/editor/macro.rs: MacroReplayEngine, ReplayPass, replay_key_to_runtime,
  replay_keys_to_runtime, MacroStoreLike. Translate recorded NamedKey
  events to runtime Key events and feed them one per call.
- src/key/mod.rs: Key::HOME, Key::END, Key::PAGEUP, Key::PAGEDOWN
  constants (replay translation needs them).
- src/editor/mod.rs: editor.macro_replay field + re-exports.
- src/editor/dispatch.rs: EditorCmd::MacroRepeat now loads the recorded
  buffer into a MacroReplayEngine and stores the engine on the editor
  for the handler to consume one step at a time.

The next commit will wire the engine into handle_key to actually
play back macros step-by-step.

Tests: 1486 passing (was 1486). No regression.
2026-07-26 10:07:10 +09:00
..