class Byebug::AddDisplayCommand

def description

def description
  %{
    disp[lay] <expression>\tadd expression into display expression list
  }
end

def execute

def execute
  exp = @match[1]
  @state.display.push [true, exp]
  print "%d: ", @state.display.size
  display_expression(exp)
end

def names

def names
  %w(display)
end

def regexp

def regexp
  /^\s*disp(?:lay)?\s+(.+)$/
end