Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

static TIOCGWINSZ: c_ulong = 0x5413; is wrong on some linux platforms. #32

Open
@gyakovlev

Description

Hi!

code assumes that all linux targets have
static TIOCGWINSZ: c_ulong = 0x5413;

this is not the case, on ppc64 (and maybe ppc, not sure) it's 0x40087468

I've described a fun bug it caused here in detail: nushell/nushell#2618 (comment)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions