diff options
-rwxr-xr-x | bollux | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bollux b/bollux index 76f4def..1cc1b4c 100755 --- a/bollux +++ b/bollux | |||
@@ -610,12 +610,13 @@ display() { # display METADATA [TITLE] | |||
610 | case "$mime" in | 610 | case "$mime" in |
611 | text/*) | 611 | text/*) |
612 | set_title "$title${title:+ - }bollux" | 612 | set_title "$title${title:+ - }bollux" |
613 | less_cmd=(less -R) | 613 | less_cmd=(less -R) # render ANSI color escapes |
614 | mklesskey "$BOLLUX_LESSKEY" && less_cmd+=(-k "$BOLLUX_LESSKEY") | 614 | mklesskey "$BOLLUX_LESSKEY" && less_cmd+=(-k "$BOLLUX_LESSKEY") |
615 | less_cmd+=( | 615 | less_cmd+=( |
616 | -Pm"$(less_prompt_escape "$BOLLUX_URL") - bollux$" | 616 | -Pm"$(less_prompt_escape "$BOLLUX_URL") - bollux$" # 'status'line |
617 | -P='o\:open, g\:goto, [\:back, ]\:forward, r\:refresh$' | 617 | -P='o\:open, g\:goto, [\:back, ]\:forward, r\:refresh$' # helpline |
618 | -m | 618 | -m # start with statusline |
619 | +k # float content to the top | ||
619 | ) | 620 | ) |
620 | 621 | ||
621 | local typeset | 622 | local typeset |