Skip to content

Commit

Permalink
Merge pull request #18 from 8128-33550336/develop
Browse files Browse the repository at this point in the history
remove log
  • Loading branch information
8128-33550336 authored Jul 4, 2023
2 parents 8bb734c + cec60dc commit aa69f41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@8128-33550336/key-capture",
"version": "0.7.5",
"version": "0.7.6",
"description": "keyboard capture",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const createCapture = <T extends true | undefined | false>(doKeyEmit?: T,

if (autoExit) {
keyEmitter.extendSequence.detectSequence(['Control.C', 'Control.C'], () => {
console.log('exit');
process.exit(0);
});
}
Expand All @@ -16,12 +15,10 @@ export const createCapture = <T extends true | undefined | false>(doKeyEmit?: T,
keyEventEmitter: keyEmitter.keyEventEmitter,
extendSequence: keyEmitter.extendSequence,
start() {
console.log('start');
keyEmitter.start();
capture.start();
},
stop() {
console.log('stop');
keyEmitter.stop();
capture.stop();
},
Expand Down

0 comments on commit aa69f41

Please sign in to comment.