     .addClass(options?.class ? 'console-message')
     .text("#{message}")
     .appendTo(@buffer)
+    @cullBuffer()
     return
   
   info:  (message) -> @log message, class: 'console-info'

    @history = [ ]
    @history.limit = 100
    @history.index = -1
    
    @input.keydown (event) => @handleKey(event)
  

    @root.scrollTo '100%'
    return
  
  cullBuffer: ->
    children = @buffer.children()
    overflow = children.length - @bufferLimit
    if overflow > 0
      children.slice(0, overflow).remove()
  
  # I'd love to use CSS transitions but they don't work when the display
  # style changes.
  show: ->
