mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 12:32:32 +00:00
Move cursor to bottom in test mode
This commit is contained in:
10
neofetch
10
neofetch
@@ -2792,6 +2792,16 @@ while [ "$1" ]; do
|
||||
*) config_file="$2"; config="on"; getconfig ;;
|
||||
esac
|
||||
;;
|
||||
--test)
|
||||
info=(title underline distro kernel uptime packages shell resolution de wm theme icons cpu gpu memory font disk battery song localip publicip users birthday cols)
|
||||
|
||||
printinfo () {
|
||||
for func in "${info[@]}"; do
|
||||
info "${func^^}" $func
|
||||
done
|
||||
printf "%b%s" "\033[$(tput lines)H"
|
||||
}
|
||||
;;
|
||||
|
||||
--help) usage ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user