diff options
author | Adrian Kummerlaender | 2015-08-13 21:01:54 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2015-08-13 21:01:54 +0200 |
commit | 51e69178618944d3454e76b0a7de747435be57a0 (patch) | |
tree | e31caf1b3c589a4ed39425c0cbb4b9b7741b02d1 /qml/commands.js | |
parent | 358d64b332068103b24577bbf4c390b05dbe50df (diff) | |
download | MetaTerm-51e69178618944d3454e76b0a7de747435be57a0.tar MetaTerm-51e69178618944d3454e76b0a7de747435be57a0.tar.gz MetaTerm-51e69178618944d3454e76b0a7de747435be57a0.tar.bz2 MetaTerm-51e69178618944d3454e76b0a7de747435be57a0.tar.lz MetaTerm-51e69178618944d3454e76b0a7de747435be57a0.tar.xz MetaTerm-51e69178618944d3454e76b0a7de747435be57a0.tar.zst MetaTerm-51e69178618944d3454e76b0a7de747435be57a0.zip |
Implement `kill` command
Diffstat (limited to 'qml/commands.js')
-rw-r--r-- | qml/commands.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qml/commands.js b/qml/commands.js index 7069458..23f0a7f 100644 --- a/qml/commands.js +++ b/qml/commands.js @@ -23,8 +23,6 @@ function exec(output, args) { if ( typeof result !== 'undefined' ) { output.log(result); - } else { - output.log(''); } } @@ -32,6 +30,10 @@ function jump(output, index) { terminalList.selectItem(index); } +function kill(output, index) { + terminalList.get(index).reset(); +} + function next() { terminalList.selectNext(); } |