File: terminal_nosysioctl.go

package info (click to toggle)
golang-github-buger-goterm 0.0%2Bgit20181115.c206103-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 124 kB
  • sloc: makefile: 3
file content (12 lines) | stat: -rw-r--r-- 153 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
// +build windows plan9 solaris

package goterm

func getWinsize() (*winsize, error) {
	ws := new(winsize)

	ws.Col = 80
	ws.Row = 24

	return ws, nil
}