# File lib/rbreadline.rb, line 1900
  def tgetflag(name)
      `infocmp -C -r`.scan(/\w{2}/).include?(name)
  end