From 6913294de692466ee5ff7150537c8c6eafa246ec Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Mon, 16 Dec 2019 21:15:37 +1300 Subject: [PATCH] EXTREMELY OBSCURE fix without this, selectors get skipped over when selecting the first element in a pile if the label is some kind of container. --- subiquitycore/ui/selector.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subiquitycore/ui/selector.py b/subiquitycore/ui/selector.py index a34b8ab2..593de869 100644 --- a/subiquitycore/ui/selector.py +++ b/subiquitycore/ui/selector.py @@ -56,6 +56,9 @@ class ClickableThing(WidgetWrap): """ return 0, 0 + def move_cursor_to_coords(self, size, x, y): + return True + def keypress(self, size, key): if self._command_map[key] != ACTIVATE: return key