feat(messages): add "prev_cmd" argument to msg_history_show (#34779)

Problem:  Unable to tell whether msg_history_show event is emitted for a
          :messages or g< command.
Solution: Add "prev_cmd" argument that is set to true for g<.
This commit is contained in:
luukvbaal
2025-07-08 11:19:02 +02:00
committed by GitHub
parent f576b59a09
commit f68a5c40f0
7 changed files with 19 additions and 23 deletions

View File

@@ -172,7 +172,7 @@ void msg_showmode(Array content)
FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY;
void msg_ruler(Array content)
FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY;
void msg_history_show(Array entries)
void msg_history_show(Array entries, Boolean prev_cmd)
FUNC_API_SINCE(6) FUNC_API_REMOTE_ONLY;
// This UI event is currently undocumented.