code: func Sync() error {
  	front_buffer.clear()
  	err := send_clear()
  	if err != nil {
  		return err
  	}
  
  	return Flush()
  }
docs: // Sync comes handy when something causes desync between termbox's understanding
  // of a terminal buffer and the reality. Such as a third party process. Sync
  // forces a complete resync between the termbox and a terminal, it may not be
  // visually pretty though.