aboutsummaryrefslogtreecommitdiff
path: root/qml/commands.js
diff options
context:
space:
mode:
Diffstat (limited to 'qml/commands.js')
-rw-r--r--qml/commands.js7
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);
+ }
+ });
+}