class Rouge::Lexers::ConsoleLexer

def end_chars

def end_chars
  @end_chars ||= if @prompt.any?
    @prompt.reject { |c| c.empty? }
  else
    %w($ # > ;)
  end
end