lib/prompts.rb in prompts-0.2.1 vs lib/prompts.rb in prompts-0.3.0
- old
+ new
@@ -1,12 +1,10 @@
# frozen_string_literal: true
require "io/console"
require "reline"
+require "rainbow" # this needs to come before require "fmt"
require "fmt"
-require "rainbow"
-
-Fmt.add_rainbow_filters
require_relative "prompts/version"
require_relative "prompts/prompt"
require_relative "prompts/text_utils"
require_relative "prompts/content"