I have 2 files opened in a vertically split window. I call term_start() and get results in a split window below. I use something like this:
:let foo=term_start("some_script", {'hidden':1, 'term_finish':'open', 'term_opencmd':'botright split +b%d'})
This works great, but often times the script output cannot fit into one line, so it is getting wrapped in the terminal window. This is not something you can fix with ":set nowrap". These terminal-inserted line breaks create problems with visualization of script output and with searches in the terminal window. I learned I can avoid this by setting 'termwinsize' option to a big number:
:set termwinsize=0*999
This helps, but it creates a different problem - now every time I call term_start() my active window/buffer is for some reasons getting resized to occupy the entire screen space and leaving just one-character wide window for the other buffer.
I'm using (linux) gvim version 8.1.1561