gocui/gui_win.go
Shane Pope 452058d7ae Move non-Windows code behind build tags
Moved non-windows code to new non-windows file so it could be compiled on Windows.
2019-07-18 00:35:10 -05:00

11 lines
178 B
Go

// +build windows
package gocui
import "github.com/jesseduffield/termbox-go"
func (g *Gui) getTermWindowSize() (int, int, error) {
x, y := termbox.Size()
return x, y, nil
}