diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 0d76f2e8..31098738 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -546,7 +546,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): cwd = self.env.cwd direction = Direction(dirarg) pos, selected = direction.select(lst=cwd.files, current=cwd.pointer, - pagesize=self.env.termsize[0]) + pagesize=self.ui.termsize[0]) cwd.pointer = pos cwd.correct_pointer() for item in selected: @@ -967,7 +967,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): offset = 1 pos, selected = direction.select( override=narg, lst=cwd.files, current=cwd.pointer, - pagesize=self.env.termsize[0], offset=offset) + pagesize=self.ui.termsize[0], offset=offset) cwd.pointer = pos cwd.correct_pointer() if mode == 'set': |