all repos — shlide @ 31f2a18e9f0775107fe2efef0d754cf3dc323373

slide deck presentation tool written in pure bash

Add space and enter keys to move to the next slide

* Added SPACE and ENTER key to be acceptable keys to move to the NEXT
slide

* Updated readme to detail using space or enter to navigate to next slide
Benjamin Kadel KardelioGithub@outlook.com
Thu, 06 Feb 2020 10:59:42 +0000
commit

31f2a18e9f0775107fe2efef0d754cf3dc323373

parent

06df2aceca968a760a5cc1640230e1c0b9d1b9cb

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M readme.mdreadme.md

@@ -7,6 +7,7 @@ ## Features

- All slides are plain-text files. - Navigation using `j` / `k` or `n` / `p`. +- You can also navigate to the next slide using `SPACE` or `ENTER`. - Text color and style formatting. - Pure bash.
M shlideshlide

@@ -151,7 +151,7 @@ # Navigate on j/k/n/p and quit on q.

display "$(<"${slides[$i]}")" "${slides[$i]}" "$i" "${#slides[@]}" read -rsn1 input case "$input" in - "j"|"n") + "j"|"n"|"") ((++i)) ;; "k"|"p")