Skip to content

Commit

Permalink
Add new formats like pulse_4, lighthouse, toss, points and points_2
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Oct 17, 2020
1 parent 508cfc8 commit ee6651a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lib/tty/spinner/formats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ module Formats
interval: 20,
frames: %w[ ]
},
pulse_4: {
interval: 10,
frames: %w[- = = -]
},
dots: {
interval: 10,
frames: %w[ ]
Expand Down Expand Up @@ -166,6 +170,22 @@ module Formats
interval: 10,
frames: %w[- - ]
},
toss: {
interval: 10,
frames: %w[_ _ _ - ` ` ' ´ - _ _ _]
},
lighthouse: {
interval: 10,
frames: ["∙∙∙", "●∙∙", "∙●∙", "∙∙●", "∙∙∙"]
},
points: {
interval: 10,
frames: [". ", ".. ", "...", " "]
},
points_2: {
interval: 10,
frames: [". ", ".. ", "...", " ..", " .", " "]
},
burger: {
interval: 6,
frames: %w[ ]
Expand Down

0 comments on commit ee6651a

Please sign in to comment.