summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/windows.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/windows.py b/src/windows.py
index 9b12bbb6..fae2e7bb 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -253,9 +253,15 @@ class UserList(Win):
break
# draw indicators of position in the list
if self.pos > 0:
- self.draw_plus(0)
+ if config.get('user_list_sort', 'desc').lower() == 'asc':
+ self.draw_plus(self.height-1)
+ else:
+ self.draw_plus(0)
if self.pos + self.height < len(users):
- self.draw_plus(self.height-1)
+ if config.get('user_list_sort', 'desc').lower() == 'asc':
+ self.draw_plus(0)
+ else:
+ self.draw_plus(self.height-1)
self._refresh()
def draw_role_affiliation(self, y, user):