about summary refs log tree commit homepage
path: root/bin/dtas-console
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-08-24 22:29:13 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-25 00:06:16 +0000
commit14d97ba79e36672101640321af618c018e11fbc3 (patch)
treec29fd488e97c221e7b53333f4c6570713daece7c /bin/dtas-console
parentdba1db0282af2712503b8526eaeebf0958953308 (diff)
downloaddtas-14d97ba79e36672101640321af618c018e11fbc3.tar.gz
Occasionally we will play the output of a command, just display
that.
Diffstat (limited to 'bin/dtas-console')
-rwxr-xr-xbin/dtas-console2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dtas-console b/bin/dtas-console
index 3693c99..2bdddc3 100755
--- a/bin/dtas-console
+++ b/bin/dtas-console
@@ -82,7 +82,7 @@ begin
     if current = cur['current']
       Curses.setpos(lineno += 1, 0)
       Curses.clrtoeol
-      Curses.addstr(current['infile'])
+      Curses.addstr(current['infile'] || current['command'])
 
       elapsed = Time.now.to_f - current['spawn_at']
       if (nr = cur['current_initial']) && (current_format = current['format'])