mirror of
https://github.com/kristoferssolo/traxor.git
synced 2026-02-04 06:42:04 +00:00
feat: add more default tabs (Seeding, Queued) with focused columns
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user