diff options
author | Adrian Kummerlaender | 2015-09-04 22:08:43 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2015-09-04 22:08:43 +0200 |
commit | ddc5f970f5b8f863b31739efc6e56edd37d32bd7 (patch) | |
tree | 95f37fae5fd5a70b5908c0c2cd0f71a3626a3270 /src/command | |
parent | 52dd097c4d679d53060b415e065151806f0acfbf (diff) | |
download | MetaTerm-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`
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/commands.js | 4 |
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(); } |