提交 86c7b133 编写于 作者: N nicolargo

Merge branch 'issue1113' into develop

......@@ -16,6 +16,7 @@ Bugs corrected:
* glances_network `OSError: [Errno 19] No such device` (issue #1106)
* GPU plugin. <class 'TypeError'>: ... not JSON serializable"> (issue #1112)
* PermissionError on macOS (issue #1120)
* Cant move up or down in glances --browser (issue #1113)
Installation:
......
......@@ -21,6 +21,7 @@
import sys
import curses
from glances.outputs.glances_curses import _GlancesCurses
from glances.logger import logger
......@@ -108,10 +109,10 @@ class GlancesCursesBrowser(_GlancesCurses):
# 'ENTER' > Run Glances on the selected server
logger.debug("Server number {} selected".format(self.cursor + 1))
self.active_server = self.cursor
elif self.pressedkey == 65:
elif self.pressedkey == curses.KEY_UP:
# 'UP' > Up in the server list
self.cursor_up(servers_list)
elif self.pressedkey == 66:
elif self.pressedkey == curses.KEY_DOWN:
# 'DOWN' > Down in the server list
self.cursor_down(servers_list)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册