mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
fix: return from history if first time
This commit is contained in:
1 parent
85f17aa217
commit
72eab0daf0
1 file changed
+3
-1
@@ -670,6 +670,7 @@ prepare_ip_list(){
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
history_table(){
|
history_table(){
|
||||||
|
[[ ! -f $hist_file ]] && { pop 1000; return; }
|
||||||
[[ -f /tmp/dz.hist ]] && rm /tmp/dz.hist
|
[[ -f /tmp/dz.hist ]] && rm /tmp/dz.hist
|
||||||
for i in $(cat $hist_file); do
|
for i in $(cat $hist_file); do
|
||||||
echo "# Getting metadata for $i"
|
echo "# Getting metadata for $i"
|
||||||
@@ -1111,7 +1112,8 @@ popup(){
|
|||||||
600) pop "No preferred servers set." ;;
|
600) pop "No preferred servers set." ;;
|
||||||
700) pop "Toggled to Flatpak Steam." ;;
|
700) pop "Toggled to Flatpak Steam." ;;
|
||||||
800) pop "Toggled to native Steam." ;;
|
800) pop "Toggled to native Steam." ;;
|
||||||
900) pop "This feature is not supported on Steam Deck."
|
900) pop "This feature is not supported on Steam Deck." ;;
|
||||||
|
1000) pop "No recent history."
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
toggle_console_dl(){
|
toggle_console_dl(){
|
||||||
|
|||||||
Reference in new issue
Block a user