1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-23 07:27:12 +01:00

Escape closes timeline

As Escape does the same as Q when closing the app and overlays, it should do the same with timelines
This commit is contained in:
Rasmus Lindroth 2019-09-06 15:12:18 +02:00 committed by Ivan Habunek
parent 25ff2328c7
commit 3a56243878
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95

View File

@ -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