feat: add more default tabs (Seeding, Queued) with focused columns

This commit is contained in:
2026-01-01 04:54:06 +02:00
parent dabb434011
commit c8b7d0ccbe
4 changed files with 27 additions and 21 deletions

View File

@@ -10,6 +10,8 @@ pub struct KeybindsConfig {
pub switch_tab_1: String,
pub switch_tab_2: String,
pub switch_tab_3: String,
pub switch_tab_4: String,
pub switch_tab_5: String,
pub toggle_torrent: String,
pub toggle_all: String,
pub delete: String,

View File

@@ -58,6 +58,8 @@ pub async fn get_action(key_event: KeyEvent, app: &mut App) -> Result<Option<Act
(Action::SwitchTab(0), &keybinds.switch_tab_1),
(Action::SwitchTab(1), &keybinds.switch_tab_2),
(Action::SwitchTab(2), &keybinds.switch_tab_3),
(Action::SwitchTab(3), &keybinds.switch_tab_4),
(Action::SwitchTab(4), &keybinds.switch_tab_5),
(Action::ToggleTorrent, &keybinds.toggle_torrent),
(Action::ToggleAll, &keybinds.toggle_all),
(Action::Delete(false), &keybinds.delete),