diff options
Diffstat (limited to 'qml/commands.js')
-rw-r--r-- | qml/commands.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qml/commands.js b/qml/commands.js index 765a747..7069458 100644 --- a/qml/commands.js +++ b/qml/commands.js @@ -40,3 +40,10 @@ function prev() { terminalList.selectPrev(); } +function ls(output) { + terminalList.iterate(function(item) { + if ( item.terminal !== null ) { + output.log(item.index + ': ' + item.terminal.program); + } + }); +} |