From d9e4035e6d916d3e7aa6f8cb5a544eb3086f8f2d Mon Sep 17 00:00:00 2001 From: Olivier Rousseau-Guyot Date: Tue, 12 May 2015 22:04:24 -0400 Subject: [PATCH] added 'q' to quit prompt --- bin/git-bc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-bc b/bin/git-bc index 0e51a80..0a68b85 100755 --- a/bin/git-bc +++ b/bin/git-bc @@ -21,7 +21,7 @@ if (opts.indexOf('-h') > -1) { // Exits program execution on ESC keypress process.stdin.on('keypress', function (ch, key) { - if (key && key.name === 'escape') { + if (key && (key.name === 'escape' || key.name === 'q')) { process.exit(); } });