diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index e008eb5a..6d4c0474 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -987,7 +987,9 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): new=self.thistab) break - def tab_move(self, offset): + def tab_move(self, offset, narg=None): + if narg: + return self.tab_open(narg) assert isinstance(offset, int) tablist = self._get_tab_list() current_index = tablist.index(self.current_tab) |