On 3/7/22 7:48 AM, Bram Moolenaar wrote:
> Or use a timer:
>
> call timer_start(50, {_ -> execute('"Hello World"')})
Works well. (I knew to replace -> with =>, but the bad dict had me going
for a while)
I'd like to do multi-line output. Haven't been able to get it to work.
Any ideas?
I thought to include some best guess instructions, with "instrs:
list<string>" I tried
'echomsg instrs->join("\n")' and several other things. Saw plenty of
returns and nulls (^M, ^@) and other weird things, but haven't been able
to get multi-line output.
Outputting one line at a time left only the last line showing.
Tried putting a "messages" command in, but that didn't work. It works
great from the command line.
I'm output all the stuff to a log, but for that to matter, the user
needs to enable the log.
-ernie