Open ethanbaker opened 2 years ago
When the build condition in others.go passes, the library cannot compile, as winsize is undefined.
others.go
winsize
This issue appeared when building another package that imports the library, which gave the following error:
# github.com/rwxrob/cmdtab ../../go/pkg/mod/github.com/rwxrob/cmdtab@v0.10.2/others.go:6:12: undefined: winsize
This can be fixed by refactoring the others.go file to fix the compile error. I believe that this is as simple as renaming winsize to Winsz.
Winsz
When the build condition in
others.go
passes, the library cannot compile, aswinsize
is undefined.This issue appeared when building another package that imports the library, which gave the following error:
This can be fixed by refactoring the
others.go
file to fix the compile error. I believe that this is as simple as renamingwinsize
toWinsz
.