M README.md => README.md +1 -0
@@ 74,6 74,7 @@ No. Besides the ambiguity problem, it will also introduce huge external dependen
- Link navigation (keyboard): s - focus on the next link, w - focus on the previous link, Enter/Space - visit the focused link (or download if it points to a binary file), d - force-download the contents of the link
- Link navigation (mouse, if supported): left click on the link - focus and visit (or download if it points to a binary file), middle click - focus and force-download the contents
- Go back: b or right mouse click anywhere (if supported)
+- Refresh the page: r
- Stash the link to the currently open resource: S (shift+s)
- Quit the browser: q
M bopher-ng.sh => bopher-ng.sh +1 -0
@@ 379,6 379,7 @@ while true; do
[[ "$cmdbuf" == '[B' || "$cmdbuf" == 'j' || "$mousecmd" == '65' ]] && scroll 1
[[ "$cmdbuf" == '[5' || "$cmdbuf" == 'h' ]] && scroll $(( 1 - $TERMROWS )) # PgUp
[[ "$cmdbuf" == '[6' || "$cmdbuf" == 'l' ]] && scroll $(( $TERMROWS - 1 )) # PgDn
+ [[ "$cmdbuf" == 'r' ]] && amload "$CURRENTAM" # refresh the page without updating history
[[ "$cmdbuf" == 's' ]] && jumplink 1
[[ "$cmdbuf" == 'w' ]] && jumplink -1
[[ "$cmdbuf" == 'q' ]] && printf '%s' "$ERESET$ALTBUFOFF" && exit 0