aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspv <spv@spv.sh>2025-12-25 20:48:03 -0500
committerspv <spv@spv.sh>2025-12-25 20:48:03 -0500
commit22a704e499a5418fad4574c497d46761dcc4524b (patch)
treee094ef56d4a6a370f153bae86df6c3f9900ef95c
parent591402473b9dc0d6b087588078b2643c52ded765 (diff)
improve reporting in sb_nueveHEADmaster
-rwxr-xr-xsrc/sb_nueve8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sb_nueve b/src/sb_nueve
index fed9749..1d0a315 100755
--- a/src/sb_nueve
+++ b/src/sb_nueve
@@ -183,15 +183,17 @@ def main():
if args.action == 'r':
if args.timeframe == 't':
report = parse_for_day(time.strftime('%Y-%m-%d'))
+
+ print("""total keystrokes: %s""" % (report["total keypresses"]))
if args.timeframe == 'w':
report = parse_for_week(time.strftime('%Y-%m-%d'))
- print(report)
+ print("""total keystrokes: %s""" % (report["total keypresses"]))
if args.timeframe == 'm':
report = parse_for_month(time.strftime('%Y-%m-%d'))
- print(report)
+ print("""total keystrokes: %s""" % (report["total keypresses"]))
if args.timeframe == 'y':
report = parse_for_year(time.strftime('%Y-%m-%d'))
- print(report)
+ print("""total keystrokes: %s""" % (report["total keypresses"]))
if args.action == 'c':
if args.timeframe == 't':