       @screen.options.no_data_text = 'No matches'
     else
       @screen.options.no_data_text = 'Loading...'
+    @highlightRegexp = @buildHighlightRegexp(@query)
     @reset()
 
   reset: ->


  renderLines: (lines) ->
    for line in lines
      @renderingCache[line] ||= @render(line)

class @TTY
  FORMATTERS = []

class OutputLines
  constructor: (@screen, @render) ->
    @query = ''
    @highlightRegexp = null
    @raw = []
    @renderingCache = {}
    @stripCache = {}
