summaryrefslogtreecommitdiffstatshomepage
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2025-05-12 18:02:56 +0200
committerluukvbaal <luukvbaal@gmail.com>2025-05-13 08:45:08 +0200
commitcc78f882012baa4d0bdca65c8dfbbd3a24e03187 (patch)
tree6678d6b01fd0cc2af1a0409ea5b7fe34312044ec /src/nvim/lua/executor.c
parenta62e55d407f75882a2151e552c8bd261987d174b (diff)
fix(extui): adjust which messages are sent to "more" window
Problem: Decision whether message is sent to "more" window is based on the number of newlines present in a message, rather than the actual text height. With the "box" target, messages that come from a cmdline entered command are not always routed to the more window. Solution: Still write the message to the target buffer, and calculate the actual text height. Postpone updating several state variables until after the decision to re-route is made. With the "box" target, only consider the text height of the message if it is not a message from a cmdline entered command.
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions