Vim 8 built-in terminal allows communication to and from a running job. The manual describes a terminal API
:h terminal-api that lets a running job to Vim. An example message is provided to open a file with
My question is how to actually send this to Vim from a running bash interactive session or a shell script? If this line has to be typed literally how can one enter the escape codes before and after the list?