()
| 76 | * @returns {Promise<void>} |
| 77 | */ |
| 78 | const goBack = async (): Promise<void> => { |
| 79 | const tabs = await Storage.get(`tabs-${windowName}`); |
| 80 | const _focusingTab = tabs.tabs[tabs.focus]; |
| 81 | if (_focusingTab.currentIndex > 0) { |
| 82 | OpenDir(_focusingTab.history[_focusingTab.currentIndex - 1]); |
| 83 | } |
| 84 | }; |
| 85 | |
| 86 | /** |
| 87 | * Function to navigate forward |
no test coverage detected