summaryrefslogtreecommitdiff
path: root/vendor/github.com/mattn/go-isatty/isatty_windows.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2021-09-08 21:26:32 +0100
committerLibravatar GitHub <noreply@github.com>2021-09-08 21:26:32 +0100
commita027da0ac9b6aa10fe26a7a0c5eea35859b1c270 (patch)
tree23b954a01a64f2751b3f774052c296fcaa8068e3 /vendor/github.com/mattn/go-isatty/isatty_windows.go
parentMerge pull request #196 from NyaaaWhatsUpDoc/update/oauth-library (diff)
parentMerge remote-tracking branch 'upstream/main' into update/sqlite-library (diff)
downloadgotosocial-a027da0ac9b6aa10fe26a7a0c5eea35859b1c270.tar.xz
Merge pull request #198 from NyaaaWhatsUpDoc/update/sqlite-library
Update/sqlite library
Diffstat (limited to 'vendor/github.com/mattn/go-isatty/isatty_windows.go')
-rw-r--r--vendor/github.com/mattn/go-isatty/isatty_windows.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/github.com/mattn/go-isatty/isatty_windows.go b/vendor/github.com/mattn/go-isatty/isatty_windows.go
index 1fa869154..8e3c99171 100644
--- a/vendor/github.com/mattn/go-isatty/isatty_windows.go
+++ b/vendor/github.com/mattn/go-isatty/isatty_windows.go
@@ -1,5 +1,5 @@
-// +build windows
-// +build !appengine
+//go:build windows && !appengine
+// +build windows,!appengine
package isatty
@@ -76,7 +76,7 @@ func isCygwinPipeName(name string) bool {
}
// getFileNameByHandle use the undocomented ntdll NtQueryObject to get file full name from file handler
-// since GetFileInformationByHandleEx is not avilable under windows Vista and still some old fashion
+// since GetFileInformationByHandleEx is not available under windows Vista and still some old fashion
// guys are using Windows XP, this is a workaround for those guys, it will also work on system from
// Windows vista to 10
// see https://stackoverflow.com/a/18792477 for details