summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2025-06-27 00:27:21 +0200
committerGitHub <noreply@github.com>2025-06-26 22:27:21 +0000
commit2b4c1127ad1c8cff38f562d71f411c35ec6ba8d6 (patch)
tree0d96ab52000df218b6b2cf396986a8caf6959b55 /runtime/lua/vim/_editor.lua
parent6005bc68b29ea8c061183a05fcac489a54fe40c2 (diff)
feat(ui): emit "msg_clear" event after clearing the screen (#34035)
Problem: ext_messages cannot tell when the screen was cleared, which is needed to clear visible messages. An empty message is also never emitted, but clears messages from the message grid. Solution: Repurpose the "msg_clear" event to be emitted when the screen was cleared. Emit an empty message with the `empty` kind to hint to a UI to clear the cmdline area.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions