How to use the keypress.disableMouse function in keypress

To help you get started, we’ve selected a few keypress examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github icyflame / cli-cube-timer / index.js View on Github external
process.on('exit', function () {
    //disable mouse on exit, so that the state is back to normal for the terminal.
    keypress.disableMouse(charm);
  });
github sidorares / ansi-vnc / index.js View on Github external
process.on('exit', function () {
  keypress.disableMouse(process.stdout);
});
process.stdin.resume();

keypress

Make any Node ReadableStream emit "keypress" events

MIT
Latest version published 11 years ago

Package Health Score

65 / 100
Full package analysis