--ascii_distro now also enables ascii mode

This commit is contained in:
Dylan 2016-02-14 20:39:35 +11:00
parent 4cc6fec6a0
commit cb87a2095d
2 changed files with 7 additions and 1 deletions

1
1.2.md
View file

@ -1,6 +1,7 @@
# Fetch 1.2
- Fixed text padding when the user didn't have the locale 'en_US.UTF8' installed.
- `--ascii_distro` now also enables ascii mode.
### OS

7
fetch
View file

@ -2407,7 +2407,12 @@ while [ "$1" ]; do
done
ascii_colors+=(7 7 7 7 7 7)
;;
--ascii_distro) ascii_distro="$2" ;;
--ascii_distro)
image="ascii"
ascii_distro="$2"
case "$2" in "--"* | "") ascii_distro="$distro" ;; esac
;;
# Screenshot
--scrot | -s) scrot="on"; [ "$2" ] && scrot_path="$2" ;;