mirror of
https://github.com/anten-ka/gotelegram_pro.git
synced 2026-05-19 15:46:02 +00:00
fix: stats refresh 3s instead of 1s
This commit is contained in:
@@ -1019,13 +1019,13 @@ submenu_stats() {
|
||||
echo -e " ${CYAN}2${NC}) Установить/обновить сборщик статистики"
|
||||
echo -e " ${CYAN}0${NC}) ${DIM}← Назад${NC}"
|
||||
echo -e " ${DIM}${line2}${NC}"
|
||||
echo -e " ${DIM}Обновление каждую секунду${NC}"
|
||||
echo -e " ${DIM}Обновление каждые 3 сек${NC}"
|
||||
|
||||
# Показываем курсор для ввода, потом снова скрываем
|
||||
tput cnorm 2>/dev/null
|
||||
echo -ne " ${WHITE}▸ ${NC}"
|
||||
|
||||
if read -t 1 -r ch; then
|
||||
if read -t 3 -r ch; then
|
||||
tput civis 2>/dev/null
|
||||
case "$ch" in
|
||||
1)
|
||||
|
||||
Reference in New Issue
Block a user