clean TUI core

- Stripped forced-scrollbar hack from _menu and _checklist
- Eliminated TUI_ANCHO_REFORZADO overflow across 9 files
- Removed redundant _inst() function globally
- Added dynamic list height calculation for checklists
- Introduced Desktop & Display menu (Option 12)
- Fixed non-free-firmware false positive in repo detection
- Restored terminal transparency for apt/vainfo output"
This commit is contained in:
stornic56
2026-07-11 22:05:35 -05:00
committed by GitHub
parent 2ebb33460c
commit f043c130a8
27 changed files with 454 additions and 331 deletions
+6 -8
View File
@@ -56,14 +56,12 @@ _swap_recommend_gb() {
# ── Menu options ──
_swap_current_status() {
echo "── Current swap ──"
sudo swapon --show 2>/dev/null || echo "(none active)"
echo ""
echo "swappiness: $(cat /proc/sys/vm/swappiness)"
echo ""
echo "fstab swap entries:"
grep -E 'swap|SWAP' /etc/fstab 2>/dev/null || echo "(none in fstab)"
_pause
local info="── Current swap ──\n"
info+="$(sudo swapon --show 2>/dev/null || echo '(none active)')\n\n"
info+="swappiness: $(cat /proc/sys/vm/swappiness)\n\n"
info+="fstab swap entries:\n"
info+="$(grep -E 'swap|SWAP' /etc/fstab 2>/dev/null || echo '(none in fstab)')"
_msg "Swap Status" "$info" 14 65
}
_swap_create_file() {