Terminal width detection regression in 0.71 when called by Jujutsu
Thanks for reporting a bug! Please include all of the following:
(1) A description of the issue. A screenshot is often helpful too. Since version 0.71 the terminal with is not detected properly. In Rust repo:
Version 0.70 with the same terminal window:
(2) A copy of what you're diffing. If you're diffing files, include the before and after files. If you're using difftastic with a VCS repository (e.g. git), include the URL and commit hash.
https://github.com/rust-lang/rust/commit/ebf08b9c01926d5319e80d9e7f2eaadd0f436452
(3) The version of difftastic you're using (see difft --version) and your operating system.
❯ /bin/difft --version
Difftastic 0.71.0
Revision: b7d119e90 2026-09-18
Toolchain: 1.98.1
System: linux x86_64vs
❯ difft --version
Difftastic 0.70.0
Toolchain: 1.98.1
System: linux x86_64Using Niri as the compositor with DMS and Fish as the shell. Tested with Wezterm, Alacritty and Rio as the terminals and they all behave the same way. JJ is configured with:
[ui]
diff-formatter = ["difft", "--color=always", "$left", "$right"]This is probably terminal_size bug, but still a regression compared to 0.70.
Source: Wilfred/difftastic