aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/command/commands.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/command/commands.js b/src/command/commands.js
index 13bb1c2..399f0b1 100644
--- a/src/command/commands.js
+++ b/src/command/commands.js
@@ -48,7 +48,10 @@ function exec(output, args) {
function ls(output) {
terminalList.iterate(function(item) {
if ( item.terminal !== null ) {
- output.log(item.index + ': ' + item.terminal.program);
+ output.log(
+ item.index + ': ' + item.terminal.program +
+ ' (' + item.terminal.getPID() + ')'
+ );
}
});
}