mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 23:22:44 +01:00
Print map count
This commit is contained in:
1 parent
65874ac901
commit
512ddb1d86
2 files changed
+9
-1
No files matched your search
@@ -6,6 +6,13 @@
|
|||||||
- Standardize dialogs
|
- Standardize dialogs
|
||||||
- Query and connect by IP/port
|
- Query and connect by IP/port
|
||||||
|
|
||||||
|
## [2.7.0-rc.6] 2022-09-13
|
||||||
|
### Added
|
||||||
|
- Add number of maps found to map select menu
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Strip Unicode spaces in server titles
|
||||||
|
|
||||||
## [2.7.0-rc.5] 2022-09-13
|
## [2.7.0-rc.5] 2022-09-13
|
||||||
### Changed
|
### Changed
|
||||||
- Improve server distance algorithm
|
- Improve server distance algorithm
|
||||||
|
|||||||
@@ -794,7 +794,8 @@ filter_maps(){
|
|||||||
echo "# Filtering maps"
|
echo "# Filtering maps"
|
||||||
[[ $ret -eq 98 ]] && return
|
[[ $ret -eq 98 ]] && return
|
||||||
local maps=$(echo "$response" | jq -r '.[].map//empty|ascii_downcase' | sort -u)
|
local maps=$(echo "$response" | jq -r '.[].map//empty|ascii_downcase' | sort -u)
|
||||||
local map_sel=$(echo "$maps" | zenity --list --column="Check" --width=1200 --height=800 2>/dev/null --title=DZGUI --text="Select map")
|
local map_ct=$(echo "$maps" | wc -l)
|
||||||
|
local map_sel=$(echo "$maps" | zenity --list --column="Check" --width=1200 --height=800 2>/dev/null --title=DZGUI --text="Found $map_ct map types")
|
||||||
echo "[DZGUI] Selected '$map_sel'"
|
echo "[DZGUI] Selected '$map_sel'"
|
||||||
if [[ -z $map_sel ]]; then
|
if [[ -z $map_sel ]]; then
|
||||||
ret=97
|
ret=97
|
||||||
|
|||||||
Reference in new issue
Block a user