Open llimllib opened 7 months ago
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?
I think getting the window size might look something like this.
I'll need to break my code into files separated by build flags.
Currently, we use unix-only stuff to get the terminal width. How do you replicate that on windows?
does anybody want to use this on windows?