entryTitle
What a history entry is called: its message's first line, or else the label of the command that made it.
export const entryTitle = (c: { command: string; message?: string }) => c.message?.split("\n")[0] || c.command
What a history entry is called: its message's first line, or else the label of the command that made it.
export const entryTitle = (c: { command: string; message?: string }) => c.message?.split("\n")[0] || c.command