Skip to content

support windows #14

@llimllib

Description

@llimllib

Currently, we use unix-only stuff to get the terminal width. How do you replicate that on windows?

./main.go:143:36: undefined: syscall.SYS_IOCTL
./main.go:144:23: undefined: syscall.TIOCGWINSZ
./main.go:144:36: not enough arguments in call to syscall.Syscall
	have (unknown type, uintptr, unknown type, uintptr)
	want (uintptr, uintptr, uintptr, uintptr, uintptr)

does anybody want to use this on windows?

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