From 3a562438783e12e8ea7696b45f0f778e4604eeb5 Mon Sep 17 00:00:00 2001 From: Rasmus Lindroth Date: Fri, 6 Sep 2019 15:12:18 +0200 Subject: [PATCH] Escape closes timeline As Escape does the same as Q when closing the app and overlays, it should do the same with timelines --- toot/tui/timeline.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toot/tui/timeline.py b/toot/tui/timeline.py index c086a52..1574536 100644 --- a/toot/tui/timeline.py +++ b/toot/tui/timeline.py @@ -127,6 +127,10 @@ class Timeline(urwid.Columns): self._emit("close") return + if key == "esc" and self.is_thread: + self._emit("close") + return + if key in ("r", "R"): self._emit("reply", status) return