currently running arch linux with zsh as the shell, and finding this to be an issue in both the kitty terminal and vscode's built in terminal. the following program returns my actual terminal size when building with cargo build and (0, 0) when building with cargo build --release:
fn main() {
println!("{:?}", termsize::get());
}
this issue is present on all versions of termsize, though only a few months ago this wasnt a problem