~radiocane/bollux

30620e0c6baaf8d8f2d7643d70e84677347f7d58 — White_Rabbit 7 months ago 0dfab17
Reload when GOing nowhere
1 files changed, 9 insertions(+), 5 deletions(-)

M bollux
M bollux => bollux +9 -5
@@ 1530,7 1530,7 @@ handle_keypress() { # handle_keypress CODE
		run select_url "$BOLLUX_PAGESRC"
		;;
	(49) # g - goto a url -- input a new url
		run prompt GO
		run prompt "GO (leave empty to reload)"
		run handle_keypress 249
		;;
	(149)


@@ 1538,10 1538,14 @@ handle_keypress() { # handle_keypress CODE
		run handle_keypress 249
		;;
	(249)
		if uwellform "$REPLY"; then
			run blastoff -u "$REPLY"
		else
			run handle_keypress 149
		if [ "$REPLY" = "" ]; then
			run blastoff $BOLLUX_URL
			else
				if uwellform "$REPLY"; then
					run blastoff -u "$REPLY"
				else
					run handle_keypress 149
				fi
		fi
		;;
	(349)