class Byebug::ThreadCurrentCommand


Show current thread.

def description

def description
  prettify <<-EOD
    th[read] cur[rent]  Shows current thread.
  EOD
end

def execute

def execute
  display_context(@state.context)
end

def names

def names
  %w(thread)
end

def regexp

def regexp
  /^\s* th(?:read)? \s+ (?:cur(?:rent)?)? \s*$/x
end