diff options
-rwxr-xr-x | bollux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bollux b/bollux index 1eb120c..1aaa70f 100755 --- a/bollux +++ b/bollux | |||
@@ -349,7 +349,7 @@ gemini_response() { | |||
349 | url="$1" | 349 | url="$1" |
350 | 350 | ||
351 | # we need a loop here so it waits for the first line | 351 | # we need a loop here so it waits for the first line |
352 | while read -t "3" -r code meta || | 352 | while read -t "$BOLLUX_TIMEOUT" -r code meta || |
353 | { (($? > 128)) && die 99 "Timeout."; }; do | 353 | { (($? > 128)) && die 99 "Timeout."; }; do |
354 | break | 354 | break |
355 | done | 355 | done |
@@ -457,7 +457,7 @@ gopher_response() { | |||
457 | if [[ "$url" =~ $'\t' ]]; then | 457 | if [[ "$url" =~ $'\t' ]]; then |
458 | run gopher_convert | run display text/gemini | 458 | run gopher_convert | run display text/gemini |
459 | else | 459 | else |
460 | run prompt GopherSearch | 460 | run prompt 'SEARCH' |
461 | run blastoff "$url $REPLY" | 461 | run blastoff "$url $REPLY" |
462 | fi | 462 | fi |
463 | ;; | 463 | ;; |