windows console fix

This commit is contained in:
nkanaev
2021-11-10 11:06:25 +00:00
parent 26b87dee98
commit cf30ed249f
4 changed files with 150 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
// +build !windows
package platform
// On non-windows platforms, we don't need to do anything. The console
// starts off attached already, if it exists.
func AttachConsole() error {
return nil
}
func FixConsoleIfNeeded() error {
return nil
}