 
 var msgRect = SDL_Rect(x: 10, y: 10, w: textWidth, h: textHeight)
 
-let msgResult = SDL_RenderCopy(rend, msg, nil, &msgRect)
+// let msgResult = SDL_RenderCopy(rend, msg, nil, &msgRect)
 
 //SDL_DestroyTexture(msg)
 
-p("msgResult \(msgResult)")
+// p("msgResult \(msgResult)")
 
 p("surfaceMsg \(surfaceMsg)")
 
 p("font \(freeSans)")
+
+func drawAgain() {
+  textGrid.move(1, y: 10)
+  textGrid.add("Leo")
+  textGrid.add("nardo")
+  textGrid.move(1, y: 11)
+  textGrid.add("surfaceMsg 0x0000000001971750")
+  textGrid.move(1, y: 12)
+  textGrid.add("Coração do João")
+}
 
 var ev = SDL_Event()
 var done = false

}


class TextGridImpl {

  var x = 0
  var y = 0
  var fontColor = SDL_Color(r: 0, g: 0, b: 0, a: 255)
  var backgroundColor: SDL_Color?

  func move(x: Int, y: Int) {
    self.x = x

  }

  func add(string: String) {
    let ny = Int32(y) * cellHeight
    let surface = TTF_RenderUTF8_Blended(font, string, fontColor)
    defer { SDL_FreeSurface(surface) }
    let texture = SDL_CreateTextureFromSurface(renderer, surface)
    defer { SDL_DestroyTexture(texture) }
    var textureRect = SDL_Rect(x: Int32(x) * cellWidth, y: ny,
        w: surface.memory.w, h: surface.memory.h)
    SDL_RenderCopy(renderer, texture, nil, &textureRect)
    x += string.characters.count
  }

}


if SDL_Init(UInt32(SDL_INIT_VIDEO)) < 0 {
