From ccb2d285be71a58d92c7693a59f9a8a8a71e66ff Mon Sep 17 00:00:00 2001 From: bashrc Date: Mon, 13 Jul 2026 14:05:36 +0100 Subject: [PATCH] Another text mode browser --- src/textmode.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/textmode.py b/src/textmode.py index c364b1a26..4a5bf7248 100644 --- a/src/textmode.py +++ b/src/textmode.py @@ -18,7 +18,9 @@ def text_mode_browser(ua_str: str) -> bool: """Does the user agent indicate a text mode browser? """ if ua_str: - text_mode_agents = ('Lynx/', 'w3m/', 'Links (', 'Emacs/', 'ELinks') + text_mode_agents = ( + 'Lynx/', 'w3m/', 'Links (', 'Emacs/', 'ELinks', 'chawan' + ) for agent in text_mode_agents: if agent in ua_str: return True