mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-18 04:07:09 +00:00
windows console fix
This commit is contained in:
14
src/platform/fixconsole_default.go
Normal file
14
src/platform/fixconsole_default.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user