diaposishell

Slides on the terminal
git clone git://git.meso-star.fr/diaposishell.git
Log | Files | Refs | README | LICENSE

commit 14cc24802c51eb0a4348144a9633f89ee0423cb8
parent e5474abf72aca2078af0e162e09c4c631c98c51e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 19 Jun 2023 10:58:57 +0200

Update the user command to go to the 1st slide

Replace gg with a simple g, which is more standard in text-based user
interfaces.

Diffstat:
Mdiaposishell | 4++--
Mdiaposishell.1 | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/diaposishell b/diaposishell @@ -49,7 +49,7 @@ cleanup_die() short_help() { printf "G last\n" - printf "gg first\n" + printf "g first\n" printf "n, Enter next\n" printf "p previous\n" printf "q quit\n" @@ -129,7 +129,7 @@ while true; do else case "${c}" in h|\?) islide=$((-islide));; - gg) islide=1;; + g) islide=1;; G) islide="${nslides}";; ''|n) islide=$(next_slide);; p) islide=$(prev_slide);; diff --git a/diaposishell.1 b/diaposishell.1 @@ -46,10 +46,10 @@ i.e. moving on to the next slide. .Bl -tag -width Ds .It Ar h , \&? Display short help. -.It Ar gg -Go to the first slide. .It Ar G Go to the last slide. +.It Ar g +Go to the first slide. .It Ar n Go to next slide. .It Ar p