                           left: putPosition.column,
                           right: self.grid.region.right)
       self.markForRender(region: region)
-    }
   }
 
   public func gotoPosition(_ position: Position, screenCursor: Position, currentPosition: Position) {
-    DispatchUtils.gui {
       self.currentPosition = currentPosition
 //      NSLog("\(#function): \(position), \(screenCursor)")
 

      }

      self.updateCursorWhenPutting(currentPosition: curPos, screenCursor: screenCursor)
    }
  }

  public func unmarkRow(_ row: Int32, column: Int32) {
    DispatchUtils.gui {
      let position = Position(row: Int(row), column: Int(column))

//      NSLog("\(#function): \(position)")

extension NeoVimView {

  public func resize(toWidth width: Int32, height: Int32) {
//      NSLog("\(#function): \(width):\(height)")
      self.grid.resize(Size(width: Int(width), height: Int(height)))
      self.markForRenderWholeView()
  }

  public func clear() {
      self.grid.clear()
      self.markForRenderWholeView()
  }

  public func eolClear() {
      self.grid.eolClear()

      let putPosition = self.grid.putPosition
