diff options
Diffstat (limited to 'src/commands/tab_operations.rs')
-rw-r--r-- | src/commands/tab_operations.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/tab_operations.rs b/src/commands/tab_operations.rs index aae7371..c2bdbab 100644 --- a/src/commands/tab_operations.rs +++ b/src/commands/tab_operations.rs @@ -29,7 +29,7 @@ impl NewTab { let tab = JoshutoTab::new(curr_path, &context.config_t.sort_option)?; context.tabs.push(tab); context.curr_tab_index = context.tabs.len() - 1; - TabSwitch::tab_switch(context.curr_tab_index, context, backend)?; + TabSwitch::tab_switch(context.curr_tab_index, context)?; Ok(()) } } @@ -68,7 +68,7 @@ impl CloseTab { if context.curr_tab_index > 0 { context.curr_tab_index -= 1; } - TabSwitch::tab_switch(context.curr_tab_index, context, backend)?; + TabSwitch::tab_switch(context.curr_tab_index, context)?; Ok(()) } } |