pub fn render_buffer(
store: &NotificationStore,
) -> (String, Vec<Option<NotificationId>>)Expand description
NOTIF.1f: the *notifications* buffer’s text, and the row→id map
that goes with it.
The corner is a signal; this buffer is where you act. A
notification is not focusable and never will be — aiming at a corner
popup is worse than reading one — so <CR> on a row here is what
runs an action, and everything-is-a-buffer means that needs no
bespoke widget and no new global chord.
Returns the text and, parallel to its rows, which notification each
line belongs to. The map is returned rather than re-parsed for the
reason magit-remote-mode learned: re-reading the rendered line
makes a heading decode as a record.