retronews

a featureful fork of the luke8086/retronews hn+lobste.rs tui
Log | Files | Refs | README | LICENSE

commit 458165e57d74f141ecdf44fb9194b6d956035f24
parent 1eed956d47ce1727fcd704bb6463d6f87e8c4781
Author: luke8086 <55237178+luke8086@users.noreply.github.com>
Date:   Fri, 16 Jun 2023 16:52:37 +0000

Highlight [dead] the same way as <deleted>

Diffstat:
Mretronews.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/retronews.py b/retronews.py @@ -1346,7 +1346,7 @@ def app_get_pager_line_attr(app: AppState, line: str) -> int: return app.colors["code"] elif line == "~": return app.colors["empty_pager_line"] - elif line == "<deleted>": + elif line == "<deleted>" or line == "[dead]": return app.colors["deleted_message_pager_line"] else: return 0