From 37d05fdf63f641e657387d97a6044b02c02dbbf4 Mon Sep 17 00:00:00 2001 From: rodri Date: Sat, 17 Jun 2023 10:22:34 +0000 Subject: added a command to see the session start time. also added a prompt. --- workout | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'workout') diff --git a/workout b/workout index d1edb44..09d2dfe 100755 --- a/workout +++ b/workout @@ -102,7 +102,11 @@ fn start{ sets=($sets 0) while(! ~ $e q){ - printsession 1 1 | mc + if(~ $e t) + echo session began at $t0 + if not + printsession 1 1 | mc + echo -n '> ' e=`{read} e=`{sanitize $e} if(isnumber $e && test $e -ge 1 && test $e -le $#session){ -- cgit v1.2.3