Sha256: 99dd3c0f78431c3b5a1be8042fffc79a56d95adc549dd5dfb15713b1bc7f41b9

Contents?: true

Size: 314 Bytes

Versions: 5

Compression:

Stored size: 314 Bytes

Contents

'use strict';
require('../common');

const TTY = process.binding('tty_wrap').TTY;
const WriteWrap = process.binding('stream_wrap').WriteWrap;

const handle = new TTY(1);
const req = new WriteWrap();

handle.writeBuffer(req, Buffer.from('hello world 1\n'));
handle.writeBuffer(req, Buffer.from('hello world 2\n'));

Version data entries

5 entries across 4 versions & 1 rubygems

Version Path
node-compiler-0.9.1 vendor/node/test/pseudo-tty/test-tty-wrap.js
node-compiler-0.9.0 vendor/node-v7.2.1/test/pseudo-tty/test-tty-wrap.js
node-compiler-0.8.0 vendor/node-v7.2.0/test/pseudo-tty/test-tty-wrap.js
node-compiler-0.7.0 vendor/node-v6.9.1/test/pseudo-tty/test-tty-wrap.js
node-compiler-0.7.0 vendor/node-v7.1.0/test/pseudo-tty/test-tty-wrap.js