func resizeAndRender(w *Window) {
	// render window
	if w != nil {
		_ = termbox.Clear(bg, bg)
		maxX, maxY = termbox.Size()

		w.resize(maxX, maxY)
		w.render()

		// display all the things
		flush()
	}
}
func resizeAndRender(w *Window) {
	
	if w != nil {
		_ = termbox.Clear(bg, bg)
		maxX, maxY = termbox.Size()

		w.resize(maxX, maxY)
		w.render()

		
		flush()
	}
}
func resizeAndRender ( w * Window ) { // render window if w != nil { _ = termbox . Clear ( bg , bg ) maxX , maxY = termbox . Size ( ) w . resize ( maxX , maxY ) w . render ( ) // display all the things flush ( ) } }
// resizeAndRender resizes a window and renders it.
resizeAndRender resizes a window and renders it .