diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-07 14:31:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-07 14:31:45 +0100 |
commit | bdc09a18fca32715687d9911a431da69186528cc (patch) | |
tree | 9d27853365bffdc04e51cfe7fc6cb75dafc8a0b0 /src/eval.c | |
parent | cf3d0eaf47a56a52b355d8faf4e59685396f9c05 (diff) |
patch 9.0.0683: cannot specify a time for :echowindowv9.0.0683
Problem: Cannot specify a time for :echowindow.
Solution: A count can be used to specify the display time. Add
popup_findecho().
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 342f93ca2e..c37765fd89 100644 --- a/src/eval.c +++ b/src/eval.c @@ -6916,7 +6916,7 @@ ex_execute(exarg_T *eap) else if (eap->cmdidx == CMD_echowindow) { #ifdef HAS_MESSAGE_WINDOW - start_echowindow(); + start_echowindow(eap->addr_count > 0 ? eap->line2 : 0); #endif msg_attr(ga.ga_data, echo_attr); #ifdef HAS_MESSAGE_WINDOW |