nx.terminal
nx.terminal.open(opts)
nx.terminal.open([opts]) -> nil. Open a terminal job programmatically — the API twin
of :terminal. opts.cmd is a string (whitespace-split into argv, no shell) or a
list (argv verbatim, so an argument may contain spaces); omitted runs the default
shell. opts.cwd defaults to the editor’s working directory.
Defined in nx.lua.