Bounded list of the most recent keystrokes for the lossage display (SPC h l).
A pure functional module, no GenServer. The struct lives on
MingaEditor.State (global, not per-tab) and is updated once per
key event, after dispatch but before post-key housekeeping.
Entries are stored newest-first internally and returned in
chronological order by entries/1.
Summary
Types
@type entry() :: MingaEditor.KeystrokeHistory.Entry.t()
@type t() :: %MingaEditor.KeystrokeHistory{ entries: [entry()], max_size: pos_integer() }