summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-03-07 19:25:13 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-03-07 19:25:13 -0300
commit2a7b2eb6d92473cdbdec84df7d05238b43599fb7 (patch)
tree1cf9b21ce2110ae7705fc3fd6540fa21f349dcb5
parent1ce3b52b5e999adaf409d8a97c1b5072b3d99b5d (diff)
Add spinners
-rw-r--r--spinner.el16
1 files changed, 11 insertions, 5 deletions
diff --git a/spinner.el b/spinner.el
index bd96a8e..721f9c2 100644
--- a/spinner.el
+++ b/spinner.el
@@ -27,16 +27,22 @@
;;; Code:
(defconst spinner-types
- '((line . ["┤" "┘" "┴" "└" "├" "┌" "┬" "┐"])
- (progress-bar . ["[ ]" "[= ]" "[== ]" "[=== ]" "[====]"])
- (vertical . ["▁" "▃" "▄" "▅" "▆" "▇" "█" "▇" "▆" "▅" "▄" "▃"])
- (horizontal . ["▉" "▊" "▋" "▌" "▍" "▎" "▏" "▎" "▍" "▌" "▋" "▊" "▉"])
+ '((3-line-clock . ["┤" "┘" "┴" "└" "├" "┌" "┬" "┐"])
+ (2-line-clock . ["┘" "└" "┌" "┐"])
+ (progress-bar . ["[ ]" "[= ]" "[== ]" "[=== ]" "[====]" "[ ===]" "[ ==]" "[ =]"])
+ (progress-bar-filled . ["| |" "|█ |" "|██ |" "|███ |" "|████|" "| ███|" "| ██|" "| █|"])
+ (vertical-breathing . ["▁" "▂" "▃" "▄" "▅" "▆" "▇" "█" "▇" "▆" "▅" "▄" "▃" "▂" "▁" " "])
+ (vertical-rising . ["▁" "▄" "█" "▀" "▔"])
+ (horizontal-breathing . [" " "▏" "▎" "▍" "▌" "▋" "▊" "▉" "▉" "▊" "▋" "▌" "▍" "▎" "▏"])
+ (horizontal-breathing-long
+ . [" " "▎ " "▌ " "▊ " "█ " "█▎" "█▌" "█▊" "██" "█▊" "█▌" "█▎" "█ " "▊ " "▋ " "▌ " "▍ " "▎ " "▏ "])
+ (horizontal-moving . [" " "▌ " "█ " "▐▌" " █" " ▐"])
(minibox . ["▖" "▘" "▝" "▗"])
(triangle . ["◢" "◣" "◤" "◥"])
(box-in-box . ["◰" "◳" "◲" "◱"])
(box-in-circle . ["◴" "◷" "◶" "◵"])
(half-circle . ["◐" "◓" "◑" "◒"])
- (arrow . ["←" "↖" "↑" "↗" "→" "↘" "↓" "↙"]))
+ (moon . ["🌑" "🌘" "🌖" "🌕" "🌔" "🌒"]))
"Predefined alist of spinners.
Each car is a symbol identifying the spinner, and each cdr is a
vector, the spinner itself.")