diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-09-09 07:42:49 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-09-09 07:42:49 +0000 |
commit | e71bbefa44135f6e84912cd9ab824397dfb72286 (patch) | |
tree | 14c4dcff11949b3b5447646057df0685e62bc22b | |
parent | bfcd464606817c21ed272e04425b4d728a356975 (diff) | |
download | dtas-e71bbefa44135f6e84912cd9ab824397dfb72286.tar.gz |
We may get a pause event when we do not have a valid current hash.
-rwxr-xr-x | bin/dtas-console | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/dtas-console b/bin/dtas-console index eb246ee..0cb14fa 100755 --- a/bin/dtas-console +++ b/bin/dtas-console @@ -157,7 +157,9 @@ begin event = w.res_wait case event when "pause" - pause = current['infile'] || current['command'] + if current + pause = current['infile'] || current['command'] + end when %r{\Afile } pause = nil end |