From a2a8fa22a8f1bed1e7a92a8cfdc136d236207dd2 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Sat, 14 Nov 2026 22:32:33 -0600 Subject: [PATCH] fix(pty): Add fish v4 workaround --- crates/completest-pty/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/completest-pty/src/lib.rs b/crates/completest-pty/src/lib.rs index 8676cdf..59d3976 100644 --- a/crates/completest-pty/src/lib.rs +++ b/crates/completest-pty/src/lib.rs @@ -330,7 +330,9 @@ end; .env("PATH", &self.path) // fish requires TERM to be set. .env("TERM", "xterm") - .env("XDG_CONFIG_HOME", &self.home); + .env("XDG_CONFIG_HOME", &self.home) + // Workaround for fish v4 + .env("fish_features", "no-query-term"); let echo = false; comptest(command, echo, input, term, self.timeout) }