mirror of
https://github.com/aclist/dztui.git
synced 2025-04-10 22:33:02 +02:00
Hide cursor to prettify log output
This commit is contained in:
parent
407ac4b87f
commit
296185a728
1 changed files with 3 additions and 1 deletions
4
dztui.sh
4
dztui.sh
|
@ -267,9 +267,11 @@ query_api(){
|
|||
fi
|
||||
}
|
||||
init_table(){
|
||||
printf "\n[INFO] Polling servers. Please wait.\n"
|
||||
tput civis
|
||||
printf "[INFO] Polling servers. Please wait.\r"
|
||||
query_api
|
||||
readarray -t tabled <<< $(parse_json <<< $response)
|
||||
tput cnorm
|
||||
tput cuu1
|
||||
tput el
|
||||
table | columnize
|
||||
|
|
Loading…
Reference in a new issue