class Byebug::History

def ignore?(buf)


For now, empty lines and consecutive duplicates.

Whether a specific command should not be stored in history.
def ignore?(buf)
  return true if /^\s*$/ =~ buf
  return false if Readline::HISTORY.length == 0
  Readline::HISTORY[Readline::HISTORY.length - 1] == buf
end