diff --git a/lib/monitor.js b/lib/monitor.js index f2e33844..0a35f07d 100644 --- a/lib/monitor.js +++ b/lib/monitor.js @@ -292,6 +292,10 @@ Dashboard.prototype.layoutCmd = function() { var self = this; + this.input.key(["C-c"], function() { + process.exit(0); + }); + this.input.on('submit', function(data) { if (data !== '') { self.logText.log('console> ' + data);