about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xbollux5
1 files changed, 5 insertions, 0 deletions
diff --git a/bollux b/bollux index 1378961..ed84894 100755 --- a/bollux +++ b/bollux
@@ -923,6 +923,11 @@ handle_keypress() { # handle_keypress CODE
923# select a URL from a text/gemini file 923# select a URL from a text/gemini file
924select_url() { # select_url FILE 924select_url() { # select_url FILE
925 run mapfile -t < <(extract_links <"$1") 925 run mapfile -t < <(extract_links <"$1")
926 if ((${#MAPFILE[@]} == 0)); then
927 log e "No links on this page!"
928 sleep 0.5
929 run blastoff "$BOLLUX_URL"
930 fi
926 PS3="OPEN> " 931 PS3="OPEN> "
927 select u in "${MAPFILE[@]}"; do 932 select u in "${MAPFILE[@]}"; do
928 case "$REPLY" in 933 case "$REPLY" in