trehn/termdown

outfile option does not work in stopwatch mode

n8willis opened this issue · 1 comments

I tried termdown (installed via pip) on Python 3.6.9 on an Ubuntu 18.04 system, and when I use the -o or --outfile options with stopwatch mode, the lap data and average are written to std out after exiting the program, but nothing is ever written to the filename I pass after the o/outfile switch.

There is an error reported if I supply an outfile name that already exists, however.

Don't know if related but my outfile gets deleted after I exit the program. I'd rather have the same output the console gets but in the text file.