   # ------ Cursor control
 
   showCursor: ->
-    @renderer.showCursor true
+    @view.showCursor true
 
   hideCursor: ->
-    @renderer.showCursor false
+    @view.showCursor false
 
   # ----- Scroll control
 


    @render()

    @data.length is 0

  render: ->
    @renderer.render(@buffer.changes(), @buffer.cursorX, @buffer.cursorY)
    @buffer.clearChanges()

  # ==== Screen buffer operations

    @buffer.setBrush AsciiIo.Brush.create(props)

  bell: ->
    @view.visualBell()
    # @trigger('bell')

  compilePatterns: ->
