Escape closes timeline

As Escape does the same as Q when closing the app and overlays, it should do the same with timelines
pull/122/head
Rasmus Lindroth 2019-09-06 15:12:18 +02:00 zatwierdzone przez Ivan Habunek
rodzic 25ff2328c7
commit 3a56243878
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: CDBD63C43A30BB95
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

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