code: func RefreshScreen() {
  	comp.BeginUpdate()
  	term.Clear(ColorWhite, ColorBlack)
  	comp.EndUpdate()
  
  	windows := comp.getWindowList()
  	for _, wnd := range windows {
  		v := wnd.(*Window)
  		if v.Visible() {
  			wnd.Draw()
  
  			WindowManager().BeginUpdate()
  			PushAttributes()
  			term.Flush()
  			PopAttributes()
  			WindowManager().EndUpdate()
  
  		}
  	}
  
  	comp.BeginUpdate()
  	term.Flush()
  	comp.EndUpdate()
  }
docs: // Repaints everything on the screen