aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-09-04 22:08:43 +0200
committerAdrian Kummerlaender2015-09-04 22:08:43 +0200
commitddc5f970f5b8f863b31739efc6e56edd37d32bd7 (patch)
tree95f37fae5fd5a70b5908c0c2cd0f71a3626a3270
parent52dd097c4d679d53060b415e065151806f0acfbf (diff)
downloadMetaTerm-ddc5f970f5b8f863b31739efc6e56edd37d32bd7.tar
MetaTerm-ddc5f970f5b8f863b31739efc6e56edd37d32bd7.tar.gz
MetaTerm-ddc5f970f5b8f863b31739efc6e56edd37d32bd7.tar.bz2
MetaTerm-ddc5f970f5b8f863b31739efc6e56edd37d32bd7.tar.lz
MetaTerm-ddc5f970f5b8f863b31739efc6e56edd37d32bd7.tar.xz
MetaTerm-ddc5f970f5b8f863b31739efc6e56edd37d32bd7.tar.zst
MetaTerm-ddc5f970f5b8f863b31739efc6e56edd37d32bd7.zip
Add `reset` command to restore the previous functionality of `kill`
-rw-r--r--src/command/commands.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command/commands.js b/src/command/commands.js
index 07a1f04..732eb5b 100644
--- a/src/command/commands.js
+++ b/src/command/commands.js
@@ -99,6 +99,10 @@ function kill(output, index) {
}
}
+function reset(output, index) {
+ terminalList.get(index).reset();
+}
+
function next() {
terminalList.selectNext();
}