pear-terminal 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -507,7 +507,7 @@ function password(prompt = 'Password: ') {
507
507
  const c = chunk[0]
508
508
  if (c === 3) {
509
509
  stdout.write('^C\n')
510
- process.exit(130)
510
+ Bare.exit(130)
511
511
  } else if (c === 13 || c === 10) {
512
512
  stdin.setRawMode(false)
513
513
  stdin.destroy()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pear-terminal",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "main": "index.js",
5
5
  "type": "commonjs",
6
6
  "description": "Pear Terminal User Interface library",