Update readme

This commit is contained in:
dylan araps 2016-01-01 10:43:06 +11:00
parent 6ad6283895
commit b91a583ed1
2 changed files with 4 additions and 4 deletions

View File

@ -137,7 +137,6 @@ Here's what's on my todo list
- Add an easy way to define info prefixes at launch.
- Cleanup
- Add options to bold other text in the script (info, underline, colons)
- Fix linewrapping flag with tmux
- Fix issues with multiline prompts

View File

@ -526,15 +526,15 @@ fi
# Padding
pad=$(printf "%${padding}s")
# Hide the terminal cursor while we print the info
tput civis
# Clear terminal before printing anything
clear
# Underline title with length of title
[ $underline == "on" ] && uline=$(printf %"${#title}"s |tr " " "$underline_char")
# Hide the terminal cursor while we print the info
tput civis
# Disable line wrap
# Checks to see if we're in a tmux/screen session.
[ $linewrap == "off" ] && printf '\e[?7l'
@ -568,6 +568,7 @@ printf "\n"
[ $linewrap == "off" ] && printf '\e[?7h'
# If w3mimgviewer is found Display the image
sleep .02
if type -p /usr/lib/w3m/w3mimgdisplay >/dev/null 2>&1; then
printf "0;1;$xoffset;$yoffset;$imgsize;$imgsize;;;;;$img\n4;\n3;" |\
/usr/lib/w3m/w3mimgdisplay