Skip to content

termsize::get() returns (0, 0) when building for release #19

Description

@renpenguin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions