From 4bdffef2769308d9a2c2027d69163f4a4f69bd7f Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Thu, 15 Jun 2023 00:38:47 +0200 Subject: [PATCH] ChafaTermDb: Go back to sixels as default graphics format for WezTerm Unfortunately, its Kitty protocol implementation is not conformant, which causes new placements to delete previous ones. This can be worked around by specifying I=1, but then you'll also need to set q=1 to suppress responses. The latter is not implemented in WezTerm. Reverts 444a367913c01ee0a992f452ad12a650e7463d7f. --- chafa/chafa-term-db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chafa/chafa-term-db.c b/chafa/chafa-term-db.c index 6ffd6430..0b449d62 100644 --- a/chafa/chafa-term-db.c +++ b/chafa/chafa-term-db.c @@ -457,7 +457,7 @@ detect_capabilities (ChafaTermInfo *ti, gchar **envp) if (!g_ascii_strcasecmp (term_program, "WezTerm")) { - gfx_seqs = kitty_seqs; + gfx_seqs = sixel_seqs; } if (!g_ascii_strcasecmp (term_name, "contour"))