Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.