aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/finder/main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/finder/main.py b/packages/finder/main.py
index f1fca16..b9023ad 100644
--- a/packages/finder/main.py
+++ b/packages/finder/main.py
@@ -92,6 +92,11 @@ class FinderMain():
def _(event):
self.open()
+ @self.keybindings.add("q", filter = has_focus(self.output_buffer))
+ def _(event):
+ "Pressing 'q' on the selection buffer will exit the user interface"
+ event.app.exit()
+
def theme(self):
self.style = Style.from_dict({
"output-field" : "#888888",