From c40859505ad819ef66dafed1534c30fc50b9421c Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Sat, 26 Mar 2022 19:24:23 +0100 Subject: [PATCH] Add xh to plain-text agents (#695) --- cmd/srv.go | 1 + lib/globals.py | 1 + 2 files changed, 2 insertions(+) diff --git a/cmd/srv.go b/cmd/srv.go index 02e4c45..e289d77 100644 --- a/cmd/srv.go +++ b/cmd/srv.go @@ -30,6 +30,7 @@ var plainTextAgents = []string{ "fetch", "aiohttp", "http_get", + "xh", } var lruCache *lru.Cache diff --git a/lib/globals.py b/lib/globals.py index e79c9f0..19bd0d5 100644 --- a/lib/globals.py +++ b/lib/globals.py @@ -84,6 +84,7 @@ PLAIN_TEXT_AGENTS = [ "fetch", "aiohttp", "http_get", + "xh", ] PLAIN_TEXT_PAGES = [':help', ':bash.function', ':translation', ':iterm2']