From 5924e592926746d70f82dff5d4a53590f9f576b9 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Wed, 1 May 2024 13:04:33 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20tui:=20add=20mirrors=20ranking?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tui.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/tui.cpp b/src/tui.cpp index fe763e3..666b8b0 100644 --- a/src/tui.cpp +++ b/src/tui.cpp @@ -2014,7 +2014,7 @@ void mount_partitions() noexcept { void configure_mirrorlist() noexcept { const std::vector menu_entries = { "Edit Pacman Configuration", - //"Rank mirrors by speed", + "Rank mirrors", "Back", }; @@ -2027,9 +2027,11 @@ void configure_mirrorlist() noexcept { tui::edit_pacman_conf(); screen.Resume(); break; - /*case 1: - SPDLOG_ERROR("Implement me!"); - break;*/ + case 1: + screen.Suspend(); + utils::exec("cachyos-rate-mirrors"sv, true); + screen.Resume(); + break; default: screen.ExitLoopClosure()(); break;