diff --git a/src/nvim/version.c b/src/nvim/version.c index 62a12eeb92..60b778d53b 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -19,6 +19,7 @@ #include "nvim/charset.h" #include "nvim/drawscreen.h" #include "nvim/ex_cmds_defs.h" +#include "nvim/getchar.h" #include "nvim/gettext_defs.h" #include "nvim/globals.h" #include "nvim/grid.h" @@ -4207,5 +4208,5 @@ void ex_intro(exarg_T *eap) // TODO(bfredl): use msg_grid instead! screenclear(); intro_message(true); - wait_return(true); + plain_vgetc(); } diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua index adc090917a..2824388aa6 100644 --- a/test/functional/ui/messages_spec.lua +++ b/test/functional/ui/messages_spec.lua @@ -2054,10 +2054,8 @@ vimComment xxx match /\s"[^\-:.%#=*].*$/ms=s+1,lc=1 excludenl contains=@vim | Help poor children in Uganda! | type :help Kuwasha{18:} for information | - |*2 - {3: }| - | - {6:Press ENTER or type command to continue}^ | + |*4 + ^ | ]]) feed('') assert_alive() @@ -2189,14 +2187,6 @@ describe('ui/ext_messages', function() type :help Kuwasha{18:} for information | |*5 ]], - cmdline = { - { - content = { { '' } }, - hl = 'MoreMsg', - pos = 0, - prompt = 'Press any key to continue', - }, - }, } feed('')