if (dircp != NULL)
*dircp = search_delim; // restore second '/' or '?' for normal_cmd()
- if (!shortmess(SHM_SEARCH)
- && ((dirc == '/' && LT_POS(pos, curwin->w_cursor))
- || (dirc == '?' && LT_POS(curwin->w_cursor, pos))))
+ if (!shortmess(SHM_SEARCH) && sia && sia->sa_wrapped)
show_top_bot_msg = TRUE;
if (c == FAIL)
--- /dev/null
+|i+0&#ffffff0|f| @72
+>++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|o@1|-@57
+|e+0#0000000#ffffff0|n|d|i|f| @69
+@75
+|~+0#4040ff13&| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|/+0#0000000&|f|o@1| @33|W| |[|1|/|2|]| @11|2|,|2|-|1| @8|A|l@1|
call writefile(lines, 'Xsearchstat1', 'D')
let buf = RunVimInTerminal('-S Xsearchstat1', #{rows: 10})
- call VerifyScreenDump(buf, 'Test_searchstat_3', {})
+ call VerifyScreenDump(buf, 'Test_searchfoldopen_1', {})
call term_sendkeys(buf, "n")
- call VerifyScreenDump(buf, 'Test_searchstat_3', {})
+ call VerifyScreenDump(buf, 'Test_searchfoldopen_2', {})
call term_sendkeys(buf, "n")
- call VerifyScreenDump(buf, 'Test_searchstat_3', {})
+ call VerifyScreenDump(buf, 'Test_searchfoldopen_2', {})
call StopVimInTerminal(buf)
endfunc