From 7fc9ba18d7ceb4e68bb11c3424f1874837d9f5d4 Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Wed, 15 Feb 2017 11:01:11 +0100 Subject: [PATCH] Added support of ENTER for navigation --- bin/ModulesInformationV2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ModulesInformationV2.py b/bin/ModulesInformationV2.py index 150e0397..bd5f4f83 100755 --- a/bin/ModulesInformationV2.py +++ b/bin/ModulesInformationV2.py @@ -124,7 +124,7 @@ class CListBox(ListBox): self._line = min(len(self._options) - 1, self._line + 1) self.value = self._options[self._line][1] - elif len(self._options) > 0 and event.key_code == ord(' '): + elif len(self._options) > 0 and event.key_code in [ord(' '), ord('\n')] : global current_selected_value, current_selected_queue if self.queue_name == "logs": return event