aboutsummaryrefslogtreecommitdiff
path: root/workout
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-06-17 10:22:34 +0000
committerrodri <rgl@antares-labs.eu>2023-06-17 10:22:34 +0000
commit37d05fdf63f641e657387d97a6044b02c02dbbf4 (patch)
tree07d87db3f6600ace8f1ac6ca6944b6109e61dafb /workout
parente6a585bf14e6d3510e2ad8395c9333fcd7154721 (diff)
downloadrcfitness-37d05fdf63f641e657387d97a6044b02c02dbbf4.tar.gz
rcfitness-37d05fdf63f641e657387d97a6044b02c02dbbf4.tar.bz2
rcfitness-37d05fdf63f641e657387d97a6044b02c02dbbf4.zip
added a command to see the session start time. also added a prompt.HEADmaster
Diffstat (limited to 'workout')
-rwxr-xr-xworkout6
1 files changed, 5 insertions, 1 deletions
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){