diff --git a/lib/monitor.js b/lib/monitor.js index 051c26d1..00542661 100644 --- a/lib/monitor.js +++ b/lib/monitor.js @@ -339,6 +339,11 @@ Dashboard.prototype.layoutCmd = function() { process.exit(0); }); + this.input.key(["C-w"], function() { + self.input.clearValue(); + self.input.focus(); + }); + this.input.key(["up"], function() { var cmd = self.history.getPreviousCommand(); self.input.setValue(cmd);