예제 #1
0
파일: term.go 프로젝트: rosatolen/coyim
func updateTerminalSize(term terminal.Terminal, tc terminal.Control) {
	width, height, err := tc.GetSize(0)
	if err != nil {
		return
	}
	term.SetSize(width, height)
}