@dash4/terminal-emulator
v0.9.3
Published
dash4 terminal emulator using node-pty
Downloads
121
Readme
The following documentation is just relevant for dash4 plugin development. For informations on how to use Dash4 please read this: Dash4 documentation
Table of Contents
Installation
npm i @dash4/terminal-emulator
Usage
import { terminalEmulator } from '@dash4/terminal-emulator';
const term = terminalEmulator({
cwd: process.cwd(),
onData: (data) => {
process.stdin.write(data);
},
onStopProcessing: () => {
// do something
},
});
term.write('npm run test\r');
License
The @dash4/terminal-emulator is MIT licensed