@johngaynor/ocnus 2.0.1-next.86 → 2.0.1-next.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -119,7 +119,29 @@ alone, six lines, in colour unless `NO_COLOR` is set or `TERM` is `dumb`.
119
119
  Piped or sent to a file, or in a terminal narrower than 44 columns, both
120
120
  print what they print without it, so `ocnus help | less` reads as it
121
121
  always has. No other command shows either, nor does the usage an unknown
122
- command gets.
122
+ command gets, but for the picture below.
123
+
124
+ In a terminal one row taller, at least 79 columns wide and 25 rows tall,
125
+ whose `TERM` is not `dumb`, with `NO_COLOR` unset, `ocnus install` and
126
+ `ocnus status` show their work under the banner instead. The banner moves
127
+ at the top, a bar under it fills as each part of the work finishes, and under
128
+ the bar one line says what is being done now, such as "Checking the Linear
129
+ key", which asks Linear and takes longest. install's parts are linking, the
130
+ settings file, the dev profiles and `PATH` on a clone, the launchd
131
+ agent, and refreshing Herdr once it has been opened; status's are its
132
+ checks. For install the banner moves for about three seconds, as above, and
133
+ longer only while a part is still running; for status, for as long as it
134
+ checks. Then the banner rests, and below it status prints its report, as it
135
+ does in any other terminal, and install the lines that are left for you to
136
+ see to, such as a link skipped because a file is in the way or a folder
137
+ missing from `PATH`, then its closing "Done" line. The lines that only say
138
+ what install did, such as each link it made, are not printed there. If
139
+ something fails, the picture stops where it is, and below it comes
140
+ everything the command printed, the error with it, as it would have
141
+ printed it without the picture. Ctrl-C stops `ocnus` there too. However it
142
+ ends, the cursor shows again and the prompt comes back below it all. In any
143
+ other terminal, or piped, both print what they always have: install with
144
+ the banner as above, and status its report alone.
123
145
 
124
146
  Neither `install` nor `update` needs the Herdr app open, or even opened
125
147
  before. The mods and layouts go in Herdr's folder, `~/.config/herdr-app`,
package/cli/lib/banner.sh CHANGED
@@ -2,9 +2,11 @@
2
2
  # rock, plaiting a rope that his donkey eats as fast as he makes it, after the
3
3
  # Roman relief. Sourced by cli/ocnus.
4
4
  #
5
- # `install` and `help`, which `ocnus` with no command is too, call banner
6
- # before they print anything else. What it prints depends on the terminal
7
- # that stdout is:
5
+ # `help`, which `ocnus` with no command is too, calls banner before it
6
+ # prints anything else, and so does `install` in a terminal that cannot show
7
+ # the picture install and status show while they work, where the banner
8
+ # moves for as long as they do, with a bar under it (progress.sh). What
9
+ # banner prints depends on the terminal that stdout is:
8
10
  # - nothing, when stdout is not a terminal, such as a pipe or a file, or
9
11
  # the terminal has fewer than 44 columns, so that those commands print
10
12
  # there exactly what they print without it;
@@ -88,6 +90,60 @@ cat <<'ART'
88
90
  ART
89
91
  }
90
92
 
93
+ # The frames that keep the banner moving for as long as install or status
94
+ # is still at work, in banner_frames' form: 45 more, which come after
95
+ # banner_frames' first 28 and leave the banner as those left it. Round the
96
+ # loop, 73 frames, it goes on from banner_frames' second frame (progress.sh).
97
+ banner_loop() {
98
+ cat <<'ART'
99
+ 0.110 \033[18A\033[67C\033[39m \033[0m\r\033[18B\033[17A\033[64C\033[39m▟▜\033[0m\r\033[17B\033[17A\033[67C\033[39m▛▚ \033[0m\r\033[17B\033[16A\033[65C\033[38;5;222m█\033[39m█▛▟▘\033[0m\r\033[16B\033[15A\033[64C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▘ \033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;222m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;136m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;136m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;222m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;136m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[34C\033[39m▐ \033[0m\r\033[4B\033[4A\033[48C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[32C\033[39m▖▝▞\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;222m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[32C\033[39m▝▀\033[38;5;179m▀▀\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[39C\033[38;5;222m▀\033[38;5;179m▀\033[38;5;136m▘\033[0m\r\033[2B
100
+ 0.110 \033[16A\033[64C\033[38;5;222m▙\033[38;5;179m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[14A\033[64C\033[38;5;136m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[34C\033[39m▖ \033[0m\r\033[12B\033[12A\033[60C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[30C\033[39m▐\033[0m\r\033[11B\033[11A\033[33C\033[39m▐▌ \033[0m\r\033[11B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;222m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;136m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;222m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;136m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;222m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;136m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;136m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;136m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;222m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[38C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
101
+ 0.110 \033[18A\033[66C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[67C\033[39m▀▖\033[0m\r\033[17B\033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[16A\033[67C\033[39m▚▛ \033[0m\r\033[16B\033[15A\033[65C\033[38;5;222m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m \033[0m\r\033[15B\033[14A\033[63C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;222m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;136m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;222m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;222m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;136m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;222m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[49C\033[38;5;136m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;179m▗\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;136m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;222m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[34C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[37C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;136m▀\033[0m\r\033[2B
102
+ 0.110 \033[16A\033[65C\033[38;5;136m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;136m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;222m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;222m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;136m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;222m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[30C\033[39m▝▖\033[0m\r\033[4B\033[4A\033[34C\033[39m▗▘\033[0m\r\033[4B\033[4A\033[48C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[31C\033[39m▚ ▗▐\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;136m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;222m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[31C\033[39m▝▖\033[38;5;179m▗▟█\033[38;5;222m▄\033[38;5;179m▞\033[0m\r\033[2B\033[2A\033[39C\033[38;5;136m▀\033[38;5;179m▀\033[38;5;222m▘\033[0m\r\033[2B\033[1A\033[32C\033[39m▝▀\033[0m\r\033[1B
103
+ 0.110 \033[18A\033[66C\033[39m \033[0m\r\033[18B\033[17A\033[67C\033[39m▛▚\033[0m\r\033[17B\033[16A\033[64C\033[38;5;136m▙\033[38;5;179m█\033[0m\r\033[16B\033[16A\033[67C\033[39m▛▟▘\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[15A\033[68C\033[39m▘\033[0m\r\033[15B\033[14A\033[64C\033[38;5;222m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;136m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;222m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;136m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;222m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;136m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;222m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;222m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;222m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;136m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[38C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
104
+ 0.110 \033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[15A\033[65C\033[38;5;136m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;136m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;222m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;136m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;136m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;222m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;136m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[30C\033[39m ▌\033[0m\r\033[4B\033[4A\033[49C\033[38;5;222m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[31C\033[39m▐\033[0m\r\033[3B\033[3A\033[40C\033[38;5;179m▗\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;222m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;136m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[31C\033[39m ▚▄\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[37C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;222m▀\033[0m\r\033[2B\033[1A\033[32C\033[39m \033[0m\r\033[1B
105
+ 0.110 \033[18A\033[67C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[64C\033[39m▄▀\033[0m\r\033[17B\033[17A\033[67C\033[39m█▀▖\033[0m\r\033[17B\033[16A\033[65C\033[38;5;222m▛\033[39m▟█▚▛\033[0m\r\033[16B\033[15A\033[64C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▀▘\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;222m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;136m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;136m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;222m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;136m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[34C\033[39m▐ \033[0m\r\033[4B\033[4A\033[48C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[32C\033[39m▖▝▞\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;222m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[32C\033[39m▝▀\033[38;5;179m▀▀\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[39C\033[38;5;222m▀\033[38;5;179m▀\033[38;5;136m▘\033[0m\r\033[2B
106
+ 0.110 \033[16A\033[64C\033[38;5;222m▙\033[38;5;179m▛\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[14A\033[64C\033[38;5;136m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;222m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;136m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;222m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;136m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;222m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;136m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;136m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;136m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;222m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[38C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
107
+ 0.110 \033[18A\033[67C\033[39m \033[0m\r\033[18B\033[17A\033[64C\033[39m▟▜\033[0m\r\033[17B\033[17A\033[67C\033[39m▛▚ \033[0m\r\033[17B\033[16A\033[64C\033[38;5;179m▙█\033[39m█▛▟▘\033[0m\r\033[16B\033[15A\033[65C\033[38;5;222m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▘ \033[0m\r\033[15B\033[14A\033[63C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;222m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;136m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;222m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;222m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;136m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;222m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[49C\033[38;5;136m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;179m▗\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;136m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;222m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[34C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[37C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;136m▀\033[0m\r\033[2B
108
+ 0.110 \033[16A\033[65C\033[38;5;136m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;136m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;222m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;222m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;136m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;222m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[30C\033[39m▝▖\033[0m\r\033[4B\033[4A\033[34C\033[39m▗▘\033[0m\r\033[4B\033[4A\033[48C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[31C\033[39m▚ ▗▐\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;136m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;222m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[31C\033[39m▝▖\033[38;5;179m▗▟█\033[38;5;222m▄\033[38;5;179m▞\033[0m\r\033[2B\033[2A\033[39C\033[38;5;136m▀\033[38;5;179m▀\033[38;5;222m▘\033[0m\r\033[2B\033[1A\033[32C\033[39m▝▀\033[0m\r\033[1B
109
+ 0.110 \033[18A\033[66C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[67C\033[39m▀▖\033[0m\r\033[17B\033[16A\033[64C\033[38;5;136m▙\033[38;5;179m█\033[0m\r\033[16B\033[16A\033[67C\033[39m▚▛ \033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[15A\033[68C\033[39m \033[0m\r\033[15B\033[14A\033[64C\033[38;5;222m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;136m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;222m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;136m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;222m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;136m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;222m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;222m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;222m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;136m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[38C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
110
+ 0.110 \033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[15A\033[65C\033[38;5;136m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;136m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;222m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;136m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;136m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;222m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;136m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[30C\033[39m ▌\033[0m\r\033[4B\033[4A\033[49C\033[38;5;222m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[31C\033[39m▐\033[0m\r\033[3B\033[3A\033[40C\033[38;5;179m▗\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;222m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;136m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[31C\033[39m ▚▄\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[37C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;222m▀\033[0m\r\033[2B\033[1A\033[32C\033[39m \033[0m\r\033[1B
111
+ 0.110 \033[18A\033[66C\033[39m \033[0m\r\033[18B\033[17A\033[67C\033[39m▛▚\033[0m\r\033[17B\033[16A\033[65C\033[38;5;222m█\033[0m\r\033[16B\033[16A\033[67C\033[39m▛▟▘\033[0m\r\033[16B\033[15A\033[64C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▘\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;222m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;136m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;136m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;222m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;136m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[34C\033[39m▐ \033[0m\r\033[4B\033[4A\033[48C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[32C\033[39m▖▝▞\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;222m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[32C\033[39m▝▀\033[38;5;179m▀▀\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[39C\033[38;5;222m▀\033[38;5;179m▀\033[38;5;136m▘\033[0m\r\033[2B
112
+ 0.110 \033[16A\033[64C\033[38;5;222m▙\033[38;5;179m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[14A\033[64C\033[38;5;136m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;222m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;136m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;222m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[31C\033[39m \033[0m\r\033[7B\033[7A\033[53C\033[38;5;136m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;222m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;136m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;136m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;136m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;222m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[38C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
113
+ 0.110 \033[18A\033[67C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[64C\033[39m▄▀\033[0m\r\033[17B\033[17A\033[67C\033[39m█▀▖\033[0m\r\033[17B\033[16A\033[64C\033[38;5;179m▙▛\033[39m▟█▚▛\033[0m\r\033[16B\033[15A\033[65C\033[38;5;222m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▀▘\033[0m\r\033[15B\033[14A\033[63C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;222m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;136m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;222m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[31C\033[39m▗▖\033[0m\r\033[7B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;222m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;136m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;222m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[49C\033[38;5;136m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;179m▗\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;136m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;222m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[34C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[37C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;136m▀\033[0m\r\033[2B
114
+ 0.110 \033[16A\033[65C\033[38;5;136m▛\033[0m\r\033[16B\033[15A\033[64C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;136m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;222m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;222m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;136m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;222m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[30C\033[39m▝▖\033[0m\r\033[4B\033[4A\033[34C\033[39m▗▘\033[0m\r\033[4B\033[4A\033[48C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[31C\033[39m▚ ▗▐\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;136m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;222m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[31C\033[39m▝▖\033[38;5;179m▗▟█\033[38;5;222m▄\033[38;5;179m▞\033[0m\r\033[2B\033[2A\033[39C\033[38;5;136m▀\033[38;5;179m▀\033[38;5;222m▘\033[0m\r\033[2B\033[1A\033[32C\033[39m▝▀\033[0m\r\033[1B
115
+ 0.110 \033[18A\033[67C\033[39m \033[0m\r\033[18B\033[17A\033[64C\033[39m▟▜\033[0m\r\033[17B\033[17A\033[67C\033[39m▛▚ \033[0m\r\033[17B\033[16A\033[64C\033[38;5;136m▙\033[38;5;179m█\033[39m█▛▟▘\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[15A\033[68C\033[39m▘ \033[0m\r\033[15B\033[14A\033[64C\033[38;5;222m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;136m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;222m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;136m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;222m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;136m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;222m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;222m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;222m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;136m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[38C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
116
+ 0.110 \033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[15A\033[65C\033[38;5;136m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[34C\033[39m ▖\033[0m\r\033[12B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;136m▀\033[0m\r\033[12B\033[11A\033[30C\033[39m▚\033[0m\r\033[11B\033[11A\033[33C\033[39m ▟▘\033[0m\r\033[11B\033[11A\033[60C\033[38;5;222m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;136m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;136m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;222m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;136m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[30C\033[39m ▌\033[0m\r\033[4B\033[4A\033[49C\033[38;5;222m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[31C\033[39m▐\033[0m\r\033[3B\033[3A\033[40C\033[38;5;179m▗\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;222m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;136m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[31C\033[39m ▚▄\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[37C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;222m▀\033[0m\r\033[2B\033[1A\033[32C\033[39m \033[0m\r\033[1B
117
+ 0.110 \033[18A\033[66C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[67C\033[39m▀▖\033[0m\r\033[17B\033[16A\033[65C\033[38;5;222m█\033[0m\r\033[16B\033[16A\033[67C\033[39m▚▛ \033[0m\r\033[16B\033[15A\033[64C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m \033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;222m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;136m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;136m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;222m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;136m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[34C\033[39m▐ \033[0m\r\033[4B\033[4A\033[48C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[32C\033[39m▖▝▞\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;222m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[32C\033[39m▝▀\033[38;5;179m▀▀\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[39C\033[38;5;222m▀\033[38;5;179m▀\033[38;5;136m▘\033[0m\r\033[2B
118
+ 0.110 \033[16A\033[64C\033[38;5;222m▙\033[38;5;179m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[14A\033[64C\033[38;5;136m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[34C\033[39m▖ \033[0m\r\033[12B\033[12A\033[60C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[30C\033[39m▐\033[0m\r\033[11B\033[11A\033[33C\033[39m▐▌ \033[0m\r\033[11B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;222m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;136m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;222m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;136m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;222m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;136m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;136m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;136m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;222m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[38C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
119
+ 0.110 \033[18A\033[66C\033[39m \033[0m\r\033[18B\033[17A\033[67C\033[39m▛▚\033[0m\r\033[17B\033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[16A\033[67C\033[39m▛▟▘\033[0m\r\033[16B\033[15A\033[65C\033[38;5;222m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▘\033[0m\r\033[15B\033[14A\033[63C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;222m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;136m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;222m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;222m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;136m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;222m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[49C\033[38;5;136m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;179m▗\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;136m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;222m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[34C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[37C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;136m▀\033[0m\r\033[2B
120
+ 0.110 \033[16A\033[65C\033[38;5;136m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;136m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;222m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;222m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;136m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;222m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[30C\033[39m▝▖\033[0m\r\033[4B\033[4A\033[34C\033[39m▗▘\033[0m\r\033[4B\033[4A\033[48C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[31C\033[39m▚ ▗▐\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;136m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;222m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[31C\033[39m▝▖\033[38;5;179m▗▟█\033[38;5;222m▄\033[38;5;179m▞\033[0m\r\033[2B\033[2A\033[39C\033[38;5;136m▀\033[38;5;179m▀\033[38;5;222m▘\033[0m\r\033[2B\033[1A\033[32C\033[39m▝▀\033[0m\r\033[1B
121
+ 0.110 \033[18A\033[67C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[64C\033[39m▄▀\033[0m\r\033[17B\033[17A\033[67C\033[39m█▀▖\033[0m\r\033[17B\033[16A\033[64C\033[38;5;136m▙\033[38;5;179m▛\033[39m▟█▚▛\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[15A\033[68C\033[39m▀▘\033[0m\r\033[15B\033[14A\033[64C\033[38;5;222m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;136m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;222m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;136m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;222m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;136m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;222m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;222m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;222m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;136m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[38C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
122
+ 0.110 \033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[15A\033[65C\033[38;5;136m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;136m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;222m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;136m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;136m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;222m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;136m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[30C\033[39m ▌\033[0m\r\033[4B\033[4A\033[49C\033[38;5;222m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[31C\033[39m▐\033[0m\r\033[3B\033[3A\033[40C\033[38;5;179m▗\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;222m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;136m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[31C\033[39m ▚▄\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[37C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;222m▀\033[0m\r\033[2B\033[1A\033[32C\033[39m \033[0m\r\033[1B
123
+ 0.110 \033[18A\033[67C\033[39m \033[0m\r\033[18B\033[17A\033[64C\033[39m▟▜\033[0m\r\033[17B\033[17A\033[67C\033[39m▛▚ \033[0m\r\033[17B\033[16A\033[65C\033[38;5;222m█\033[39m█▛▟▘\033[0m\r\033[16B\033[15A\033[64C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▘ \033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;222m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;136m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;136m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;222m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;136m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[34C\033[39m▐ \033[0m\r\033[4B\033[4A\033[48C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[32C\033[39m▖▝▞\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;222m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[32C\033[39m▝▀\033[38;5;179m▀▀\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[39C\033[38;5;222m▀\033[38;5;179m▀\033[38;5;136m▘\033[0m\r\033[2B
124
+ 0.110 \033[16A\033[64C\033[38;5;222m▙\033[38;5;179m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[14A\033[64C\033[38;5;136m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;222m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;136m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;222m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;136m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;222m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;136m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;136m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;136m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;222m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[38C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
125
+ 0.110 \033[18A\033[66C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[67C\033[39m▀▖\033[0m\r\033[17B\033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[16A\033[67C\033[39m▚▛ \033[0m\r\033[16B\033[15A\033[65C\033[38;5;222m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m \033[0m\r\033[15B\033[14A\033[63C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;222m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;136m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;222m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;222m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;136m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;222m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[49C\033[38;5;136m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;179m▗\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;136m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;222m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[34C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[37C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;136m▀\033[0m\r\033[2B
126
+ 0.110 \033[16A\033[65C\033[38;5;136m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;136m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;222m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;222m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;136m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;222m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[30C\033[39m▝▖\033[0m\r\033[4B\033[4A\033[34C\033[39m▗▘\033[0m\r\033[4B\033[4A\033[48C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[31C\033[39m▚ ▗▐\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;136m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;222m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[31C\033[39m▝▖\033[38;5;179m▗▟█\033[38;5;222m▄\033[38;5;179m▞\033[0m\r\033[2B\033[2A\033[39C\033[38;5;136m▀\033[38;5;179m▀\033[38;5;222m▘\033[0m\r\033[2B\033[1A\033[32C\033[39m▝▀\033[0m\r\033[1B
127
+ 0.110 \033[18A\033[66C\033[39m \033[0m\r\033[18B\033[17A\033[67C\033[39m▛▚\033[0m\r\033[17B\033[16A\033[64C\033[38;5;136m▙\033[38;5;179m█\033[0m\r\033[16B\033[16A\033[67C\033[39m▛▟▘\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[15A\033[68C\033[39m▘\033[0m\r\033[15B\033[14A\033[64C\033[38;5;222m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;136m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;222m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;136m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;222m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;136m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;222m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;222m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;222m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;136m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[38C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
128
+ 0.110 \033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[15A\033[65C\033[38;5;136m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;136m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;222m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;136m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;136m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;222m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;136m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[30C\033[39m ▌\033[0m\r\033[4B\033[4A\033[49C\033[38;5;222m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[31C\033[39m▐\033[0m\r\033[3B\033[3A\033[40C\033[38;5;179m▗\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;222m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;136m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[31C\033[39m ▚▄\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[37C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;222m▀\033[0m\r\033[2B\033[1A\033[32C\033[39m \033[0m\r\033[1B
129
+ 0.110 \033[18A\033[67C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[64C\033[39m▄▀\033[0m\r\033[17B\033[17A\033[67C\033[39m█▀▖\033[0m\r\033[17B\033[16A\033[65C\033[38;5;222m▛\033[39m▟█▚▛\033[0m\r\033[16B\033[15A\033[64C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▀▘\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;222m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;136m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;136m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;222m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;136m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[34C\033[39m▐ \033[0m\r\033[4B\033[4A\033[48C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[32C\033[39m▖▝▞\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;222m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[32C\033[39m▝▀\033[38;5;179m▀▀\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[39C\033[38;5;222m▀\033[38;5;179m▀\033[38;5;136m▘\033[0m\r\033[2B
130
+ 0.110 \033[16A\033[64C\033[38;5;222m▙\033[38;5;179m▛\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[14A\033[64C\033[38;5;136m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;222m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;136m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;222m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;136m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;222m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;136m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;136m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;136m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;222m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[38C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
131
+ 0.110 \033[18A\033[67C\033[39m \033[0m\r\033[18B\033[17A\033[64C\033[39m▟▜\033[0m\r\033[17B\033[17A\033[67C\033[39m▛▚ \033[0m\r\033[17B\033[16A\033[64C\033[38;5;179m▙█\033[39m█▛▟▘\033[0m\r\033[16B\033[15A\033[65C\033[38;5;222m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▘ \033[0m\r\033[15B\033[14A\033[63C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;222m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;136m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;222m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;222m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;136m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;222m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[49C\033[38;5;136m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;179m▗\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;136m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;222m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[34C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[37C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;136m▀\033[0m\r\033[2B
132
+ 0.110 \033[16A\033[65C\033[38;5;136m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;136m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;222m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;222m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;136m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;222m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[30C\033[39m▝▖\033[0m\r\033[4B\033[4A\033[34C\033[39m▗▘\033[0m\r\033[4B\033[4A\033[48C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[31C\033[39m▚ ▗▐\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;136m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;222m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[31C\033[39m▝▖\033[38;5;179m▗▟█\033[38;5;222m▄\033[38;5;179m▞\033[0m\r\033[2B\033[2A\033[39C\033[38;5;136m▀\033[38;5;179m▀\033[38;5;222m▘\033[0m\r\033[2B\033[1A\033[32C\033[39m▝▀\033[0m\r\033[1B
133
+ 0.110 \033[18A\033[66C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[67C\033[39m▀▖\033[0m\r\033[17B\033[16A\033[64C\033[38;5;136m▙\033[38;5;179m█\033[0m\r\033[16B\033[16A\033[67C\033[39m▚▛ \033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[15A\033[68C\033[39m \033[0m\r\033[15B\033[14A\033[64C\033[38;5;222m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;136m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;222m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;136m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;222m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;136m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;222m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;222m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;222m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;136m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[38C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
134
+ 0.110 \033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[15A\033[65C\033[38;5;136m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[34C\033[39m ▖\033[0m\r\033[12B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;136m▀\033[0m\r\033[12B\033[11A\033[30C\033[39m▚\033[0m\r\033[11B\033[11A\033[33C\033[39m ▟▘\033[0m\r\033[11B\033[11A\033[60C\033[38;5;222m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;136m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;136m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;222m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;136m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[30C\033[39m ▌\033[0m\r\033[4B\033[4A\033[49C\033[38;5;222m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[31C\033[39m▐\033[0m\r\033[3B\033[3A\033[40C\033[38;5;179m▗\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;222m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;136m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[31C\033[39m ▚▄\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[37C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;222m▀\033[0m\r\033[2B\033[1A\033[32C\033[39m \033[0m\r\033[1B
135
+ 0.110 \033[18A\033[66C\033[39m \033[0m\r\033[18B\033[17A\033[67C\033[39m▛▚\033[0m\r\033[17B\033[16A\033[65C\033[38;5;222m█\033[0m\r\033[16B\033[16A\033[67C\033[39m▛▟▘\033[0m\r\033[16B\033[15A\033[64C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▘\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;222m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;136m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;136m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;222m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;136m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[34C\033[39m▐ \033[0m\r\033[4B\033[4A\033[48C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[32C\033[39m▖▝▞\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;222m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[32C\033[39m▝▀\033[38;5;179m▀▀\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[39C\033[38;5;222m▀\033[38;5;179m▀\033[38;5;136m▘\033[0m\r\033[2B
136
+ 0.110 \033[16A\033[64C\033[38;5;222m▙\033[38;5;179m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[14A\033[64C\033[38;5;136m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[34C\033[39m▖ \033[0m\r\033[12B\033[12A\033[60C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[30C\033[39m▐\033[0m\r\033[11B\033[11A\033[33C\033[39m▐▌ \033[0m\r\033[11B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;222m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;136m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;222m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[31C\033[39m \033[0m\r\033[7B\033[7A\033[53C\033[38;5;136m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;222m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;136m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;136m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;136m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;222m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[38C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
137
+ 0.110 \033[18A\033[67C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[64C\033[39m▄▀\033[0m\r\033[17B\033[17A\033[67C\033[39m█▀▖\033[0m\r\033[17B\033[16A\033[64C\033[38;5;179m▙▛\033[39m▟█▚▛\033[0m\r\033[16B\033[15A\033[65C\033[38;5;222m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▀▘\033[0m\r\033[15B\033[14A\033[63C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;222m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;136m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;222m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[31C\033[39m▗▖\033[0m\r\033[7B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;222m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;136m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;222m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[49C\033[38;5;136m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;179m▗\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;136m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;222m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[34C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[37C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;136m▀\033[0m\r\033[2B
138
+ 0.110 \033[16A\033[65C\033[38;5;136m▛\033[0m\r\033[16B\033[15A\033[64C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;136m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;222m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;222m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;136m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;222m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[30C\033[39m▝▖\033[0m\r\033[4B\033[4A\033[34C\033[39m▗▘\033[0m\r\033[4B\033[4A\033[48C\033[38;5;136m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[31C\033[39m▚ ▗▐\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;136m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;222m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[31C\033[39m▝▖\033[38;5;179m▗▟█\033[38;5;222m▄\033[38;5;179m▞\033[0m\r\033[2B\033[2A\033[39C\033[38;5;136m▀\033[38;5;179m▀\033[38;5;222m▘\033[0m\r\033[2B\033[1A\033[32C\033[39m▝▀\033[0m\r\033[1B
139
+ 0.110 \033[18A\033[67C\033[39m \033[0m\r\033[18B\033[17A\033[64C\033[39m▟▜\033[0m\r\033[17B\033[17A\033[67C\033[39m▛▚ \033[0m\r\033[17B\033[16A\033[64C\033[38;5;136m▙\033[38;5;179m█\033[39m█▛▟▘\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[15A\033[68C\033[39m▘ \033[0m\r\033[15B\033[14A\033[64C\033[38;5;222m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;136m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;222m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;136m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;222m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;136m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;222m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;222m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;222m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;136m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[38C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
140
+ 0.110 \033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[15A\033[65C\033[38;5;136m▀\033[0m\r\033[15B\033[14A\033[63C\033[38;5;222m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;136m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;222m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;136m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;222m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;136m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;222m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;136m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[30C\033[39m ▌\033[0m\r\033[4B\033[4A\033[49C\033[38;5;222m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[31C\033[39m▐\033[0m\r\033[3B\033[3A\033[40C\033[38;5;179m▗\033[38;5;136m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;222m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;136m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[31C\033[39m ▚▄\033[38;5;222m█\033[38;5;179m▄\033[0m\r\033[2B\033[2A\033[37C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;222m▀\033[0m\r\033[2B\033[1A\033[32C\033[39m \033[0m\r\033[1B
141
+ 0.110 \033[18A\033[66C\033[38;5;179m▖\033[0m\r\033[18B\033[17A\033[67C\033[39m▀▖\033[0m\r\033[17B\033[16A\033[65C\033[38;5;222m█\033[0m\r\033[16B\033[16A\033[67C\033[39m▚▛ \033[0m\r\033[16B\033[15A\033[64C\033[38;5;136m█\033[38;5;179m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m \033[0m\r\033[15B\033[14A\033[63C\033[38;5;179m▟\033[0m\r\033[14B\033[13A\033[63C\033[38;5;222m▀\033[0m\r\033[13B\033[12A\033[61C\033[38;5;136m▛\033[38;5;179m▀\033[0m\r\033[12B\033[11A\033[59C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;179m▟\033[0m\r\033[10B\033[9A\033[56C\033[38;5;179m▗\033[0m\r\033[9B\033[9A\033[58C\033[38;5;136m█\033[0m\r\033[9B\033[8A\033[56C\033[38;5;222m▛\033[0m\r\033[8B\033[7A\033[54C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[7B\033[6A\033[52C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[6B\033[5A\033[50C\033[38;5;136m▚\033[38;5;179m▞\033[0m\r\033[5B\033[4A\033[34C\033[39m▐ \033[0m\r\033[4B\033[4A\033[48C\033[38;5;222m▄\033[38;5;179m▛\033[0m\r\033[4B\033[3A\033[32C\033[39m▖▝▞\033[0m\r\033[3B\033[3A\033[41C\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[43C\033[38;5;222m▄\033[38;5;179m▟\033[0m\r\033[3B\033[3A\033[46C\033[38;5;136m▞\033[38;5;179m▀\033[0m\r\033[3B\033[2A\033[32C\033[39m▝▀\033[38;5;179m▀▀\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[39C\033[38;5;222m▀\033[38;5;179m▀\033[38;5;136m▘\033[0m\r\033[2B
142
+ 0.110 \033[16A\033[64C\033[38;5;222m▙\033[38;5;179m█\033[0m\r\033[16B\033[15A\033[64C\033[38;5;179m█\033[0m\r\033[15B\033[14A\033[64C\033[38;5;136m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;222m█\033[38;5;179m▀\033[0m\r\033[13B\033[12A\033[60C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[12B\033[11A\033[59C\033[38;5;179m▄\033[0m\r\033[11B\033[10A\033[59C\033[38;5;222m▀\033[0m\r\033[10B\033[9A\033[57C\033[38;5;136m▛\033[38;5;179m█\033[0m\r\033[9B\033[8A\033[55C\033[38;5;222m▟\033[38;5;179m▛\033[0m\r\033[8B\033[7A\033[53C\033[38;5;136m▗\033[38;5;179m▟\033[0m\r\033[7B\033[6A\033[52C\033[38;5;179m▄\033[0m\r\033[6B\033[5A\033[50C\033[38;5;179m▚\033[0m\r\033[5B\033[5A\033[52C\033[38;5;222m▘\033[0m\r\033[5B\033[4A\033[48C\033[38;5;179m▄\033[0m\r\033[4B\033[4A\033[50C\033[38;5;136m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;136m▗\033[0m\r\033[3B\033[3A\033[42C\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[45C\033[38;5;136m▙\033[38;5;179m▞\033[0m\r\033[3B\033[3A\033[48C\033[38;5;222m▘\033[0m\r\033[3B\033[2A\033[35C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[38C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[41C\033[38;5;179m▘\033[0m\r\033[2B
143
+ 0.110 \033[18A\033[66C\033[39m \033[0m\r\033[18B\033[17A\033[67C\033[39m▛▚\033[0m\r\033[17B\033[16A\033[64C\033[38;5;179m▙\033[0m\r\033[16B\033[16A\033[67C\033[39m▛▟▘\033[0m\r\033[16B\033[15A\033[65C\033[38;5;222m▀\033[0m\r\033[15B\033[15A\033[68C\033[39m▘\033[0m\r\033[15B\033[14A\033[63C\033[38;5;136m▟\033[38;5;179m▘\033[0m\r\033[14B\033[13A\033[62C\033[38;5;179m█\033[0m\r\033[13B\033[12A\033[60C\033[38;5;179m▗\033[0m\r\033[12B\033[12A\033[62C\033[38;5;222m▀\033[0m\r\033[12B\033[11A\033[60C\033[38;5;136m▛\033[0m\r\033[11B\033[10A\033[58C\033[38;5;222m▟\033[38;5;179m▀\033[0m\r\033[10B\033[9A\033[56C\033[38;5;136m▗\033[38;5;179m▛\033[0m\r\033[9B\033[8A\033[55C\033[38;5;179m▟\033[0m\r\033[8B\033[7A\033[53C\033[38;5;179m▗\033[0m\r\033[7B\033[7A\033[55C\033[38;5;222m▘\033[0m\r\033[7B\033[6A\033[53C\033[38;5;136m▛\033[0m\r\033[6B\033[5A\033[51C\033[38;5;222m▞\033[38;5;179m▘\033[0m\r\033[5B\033[4A\033[49C\033[38;5;136m▛\033[38;5;179m▘\033[0m\r\033[4B\033[3A\033[40C\033[38;5;179m▗\033[38;5;222m▄\033[38;5;179m▄\033[0m\r\033[3B\033[3A\033[44C\033[38;5;136m▟\033[38;5;179m▙\033[0m\r\033[3B\033[3A\033[47C\033[38;5;222m▀\033[38;5;179m▘\033[0m\r\033[3B\033[2A\033[34C\033[38;5;136m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[37C\033[38;5;222m▀\033[38;5;179m▀\033[0m\r\033[2B\033[2A\033[40C\033[38;5;136m▀\033[0m\r\033[2B
144
+ ART
145
+ }
146
+
91
147
  # The smallest terminal that shows the whole banner: its widest line across,
92
148
  # and its 23 lines with the line below them, where the cursor waits while it
93
149
  # moves. And the columns the letters take.
@@ -150,19 +206,31 @@ banner_play() {
150
206
  trap - INT TERM
151
207
  }
152
208
 
209
+ # The size of the terminal that stdout is, into TTY_ROWS and TTY_COLS, for
210
+ # the banner and for the picture install and status show (progress.sh). It
211
+ # fails, and sets both empty, when stdout is not a terminal, such as a pipe
212
+ # or a file, or its size cannot be read. stty reads the terminal on its
213
+ # stdin, so it is given stdout there, as 3: inside $( ), 1 is not the
214
+ # terminal. So a redirected stdin or stderr changes nothing. Without stty,
215
+ # the size cannot be read.
216
+ TTY_ROWS='' TTY_COLS=''
217
+ banner_size() {
218
+ local size
219
+ TTY_ROWS='' TTY_COLS=''
220
+ [ -t 1 ] || return 1
221
+ { size=$(stty size <&3 2>/dev/null); } 3>&1 || return 1
222
+ case ${size%% *} in '' | *[!0-9]* | ??????*) return 1 ;; esac
223
+ case ${size##* } in '' | *[!0-9]* | ??????*) return 1 ;; esac
224
+ TTY_ROWS=${size%% *} TTY_COLS=${size##* }
225
+ }
226
+
153
227
  # Print what the terminal that stdout is gets: nothing, the whole banner or
154
- # the letters, as the top of this file says.
228
+ # the letters, as the top of this file says. Where the size of the terminal
229
+ # cannot be read, nothing is printed.
155
230
  banner_top() {
156
- local size rows cols colour=1
157
- [ -t 1 ] || return 0
158
- # The size of the terminal on stdout itself. stty reads the terminal on its
159
- # stdin, so it is given stdout there, as 3: inside $( ), 1 is not the
160
- # terminal. So a redirected stdin or stderr changes nothing. Without stty,
161
- # or with a size that cannot be read, nothing is printed.
162
- { size=$(stty size <&3 2>/dev/null); } 3>&1 || return 0
163
- rows=${size%% *} cols=${size##* }
164
- case $rows in '' | *[!0-9]* | ??????*) return 0 ;; esac
165
- case $cols in '' | *[!0-9]* | ??????*) return 0 ;; esac
231
+ local rows cols colour=1
232
+ banner_size || return 0
233
+ rows=$TTY_ROWS cols=$TTY_COLS
166
234
  [ "$cols" -ge "$BANNER_LETTERS" ] || return 0
167
235
  [ -z "${NO_COLOR:-}" ] || colour=0
168
236
  if [ "$cols" -ge "$BANNER_COLS" ] && [ "$rows" -ge "$BANNER_ROWS" ] && [ "${TERM:-}" != dumb ]; then
@@ -10,39 +10,59 @@ link_line() {
10
10
  fi
11
11
  }
12
12
 
13
+ # install's steps, each named on the line under the bar while it runs, in a
14
+ # terminal that shows the picture (progress.sh): linking, the settings file
15
+ # and the launchd agent on every machine, the dev profiles and PATH on a
16
+ # clone only, and refreshing Herdr once Herdr has been opened. What says
17
+ # that something was skipped, is waiting, could not be done or is left for
18
+ # the human to do is a note, which install prints below the picture once
19
+ # the bar is full.
13
20
  cmd_install() {
21
+ local steps=3
22
+ if is_clone; then steps=$((steps + 2)); fi
23
+ if herdr_opened; then steps=$((steps + 1)); fi
24
+ progress_begin install "$steps"
14
25
  require_herdr
15
26
  CHANGED=0 SKIPPED=0
27
+ if herdr_opened; then progress_next "Linking the mods, layouts, skills and agent profiles"
28
+ else progress_next "Linking the skills and agent profiles"
29
+ fi
16
30
  link_line
17
31
  link_all
18
- herdr_opened || say " waiting $HERDR_WAITS"
32
+ herdr_opened || note " waiting $HERDR_WAITS"
33
+ progress_next "Checking the settings file"
19
34
  settings_init
35
+ if is_clone; then progress_next "Writing the dev profiles"; fi
20
36
  write_review_profiles
21
37
 
22
38
  # npm already put the command on PATH; a clone has to do it itself.
23
39
  if is_clone; then
40
+ progress_next "Putting ocnus on your PATH"
24
41
  say "Putting ocnus on your PATH"
25
42
  mkdir -p "$BIN_DIR"
26
43
  local me=$REPO/cli/ocnus dst=$BIN_DIR/ocnus
27
44
  case $(state_of "$me" "$dst") in
28
45
  linked) say " already at $dst" ;;
29
46
  missing) ln -s "$me" "$dst"; say " linked $dst" ;;
30
- *) say " skipped $dst (something else is already there)" ;;
47
+ *) note " skipped $dst (something else is already there)" ;;
31
48
  esac
32
49
  case ":$PATH:" in
33
50
  *":$BIN_DIR:"*) ;;
34
- *) say " note: $BIN_DIR is not on your PATH; add it to run 'ocnus' from anywhere" ;;
51
+ *) note " note: $BIN_DIR is not on your PATH; add it to run 'ocnus' from anywhere" ;;
35
52
  esac
36
53
  fi
37
54
  # What brings ocnus's watch on the merges back after a restart.
55
+ progress_next "Loading the launchd agent"
38
56
  merges_launchd
39
57
 
40
58
  # Before Herdr's first run there is no app to refresh, and nothing linked
41
59
  # for it to read.
42
60
  if herdr_opened; then
61
+ progress_next "Refreshing Herdr"
43
62
  say "Refreshing Herdr"
44
63
  refresh_herdr
45
64
  fi
65
+ progress_end
46
66
  say "Done. Switch Herdr to the default layout: pick it from the Layout dropdown, or press ctrl-shift-l until it shows, as you must from Herdr's own layout, which has no dropdown."
47
67
  }
48
68
 
@@ -94,7 +114,15 @@ cmd_update() {
94
114
  merges_wake
95
115
  }
96
116
 
117
+ # status's checks, each a step of the picture's (progress.sh): herdr-core,
118
+ # the links, the settings file, the dev profiles on a clone only, the
119
+ # spaces, the watch on the merges, the Linear key, which asks Linear and is
120
+ # the slowest, and billing. Under the picture, status prints its report once
121
+ # the bar is full, as it prints it without the picture.
97
122
  cmd_status() {
123
+ local steps=7
124
+ if is_clone; then steps=8; fi
125
+ progress_begin status "$steps"
98
126
  say "Repo: $REPO"
99
127
  say "Herdr: $APP_HOME"
100
128
  say "Skills: $SKILLS_HOME"
@@ -105,6 +133,7 @@ cmd_status() {
105
133
  # task start start it. herdr-app and hc both come with Herdr, so either one
106
134
  # missing is Herdr not installed. It is asked once, and what it answered
107
135
  # goes to the watch on the merges below.
136
+ progress_next "Checking herdr-core"
108
137
  if ! { have_herdr && have_hc; }; then
109
138
  printf ' %-10s %s\n' problem "Herdr is not installed. Install it: $HERDR_INSTALL"
110
139
  herdr_problems=1
@@ -115,6 +144,7 @@ cmd_status() {
115
144
  core=down
116
145
  printf ' %-10s %s\n' herdr-core "not running; ocnus starts it when a task needs it"
117
146
  fi
147
+ progress_next "Checking the links"
118
148
  # Before Herdr's first run the mods and layouts wait for its folder, which
119
149
  # is in order.
120
150
  if ! herdr_opened; then
@@ -127,6 +157,7 @@ cmd_status() {
127
157
  [ "$s" = linked ] || problems=$((problems + 1))
128
158
  printf ' %-10s %s\n' "$s" "$(label "$dst")"
129
159
  done < <(wanted)
160
+ progress_next "Checking the settings file"
130
161
  # The settings file, which stops task new and task build when it is not
131
162
  # valid settings. Without it read, a review subagent ocnus wrote cannot
132
163
  # be compared with what it would write now.
@@ -136,6 +167,7 @@ cmd_status() {
136
167
  fi
137
168
  # The review subagents a clone writes, rather than links (settings.sh).
138
169
  if is_clone; then
170
+ progress_next "Checking the dev profiles"
139
171
  for src in "$REVIEW_SOURCES"/*.md; do
140
172
  [ -f "$src" ] || continue
141
173
  is_profile "$(review_profile_of "$src")" || continue
@@ -147,6 +179,7 @@ cmd_status() {
147
179
  fi
148
180
  [ "$problems" = 0 ] || say "$problems not linked or not up to date. Run: ocnus update"
149
181
  herdr_opened || say "Herdr has not been opened yet, so the mods and layouts wait. Open it once, then run: ocnus update"
182
+ progress_next "Checking the spaces"
150
183
  say "Spaces: $SPACES"
151
184
  local space_problems=0
152
185
  check_spaces || space_problems=$?
@@ -157,10 +190,12 @@ cmd_status() {
157
190
  if ! have_sqlite && [ -n "$(ls -d "$SPACES"/*/ 2>/dev/null)" ]; then
158
191
  say " note $SQLITE is not installed, so hand-offs are not recorded."
159
192
  fi
193
+ progress_next "Checking the watch on the merges"
160
194
  # ocnus's watch on the merges, and the launchd agent that brings it
161
195
  # back after a restart (merges.sh). It only reads: it starts neither.
162
196
  local merges_problems=0
163
197
  merges_status "$core" || merges_problems=$?
198
+ progress_next "Checking the Linear key"
164
199
  # The Linear key, asked of Linear itself. A key Linear rejects, one that is
165
200
  # no key at all, and one that works but cannot change cards are problems.
166
201
  # With none saved the rest of ocnus still works, and a key that could
@@ -189,6 +224,7 @@ cmd_status() {
189
224
  *) key_out=$(first_sentence "$key_out")
190
225
  printf ' %-10s %s\n' note "the key was not checked${key_out:+: $key_out}" ;;
191
226
  esac
227
+ progress_next "Checking billing"
192
228
  # Which account the agents run on (billing.sh), and whether an Anthropic
193
229
  # API key is saved, never the key itself. On api with none saved, task new
194
230
  # and task build stop before an agent starts, so that is a problem. From a
@@ -210,6 +246,9 @@ cmd_status() {
210
246
  printf ' %-10s %s\n' key "no Anthropic API key is saved, and the subscription needs none"
211
247
  fi
212
248
  fi
249
+ # The bar is full, and the report is printed below the picture: the
250
+ # lines that close it are printed after it, as without the picture.
251
+ progress_end
213
252
  if [ "$problems" -gt 0 ] || [ "$herdr_problems" -gt 0 ] || [ "$space_problems" -gt 0 ] ||
214
253
  [ "$merges_problems" -gt 0 ] || [ "$settings_problems" -gt 0 ] || [ "$key_problems" -gt 0 ] ||
215
254
  [ "$billing_problems" -gt 0 ]; then
package/cli/lib/links.sh CHANGED
@@ -84,8 +84,8 @@ link_all() {
84
84
  case $(state_of "$src" "$dst") in
85
85
  linked) ;;
86
86
  missing) ln -s "$src" "$dst"; say " linked $(label "$dst")"; added=$((added + 1)) ;;
87
- elsewhere) say " skipped $(label "$dst") (already a link to $(readlink "$dst"))"; skipped=$((skipped + 1)) ;;
88
- blocked) say " skipped $(label "$dst") (a real file is in the way; move it aside to use ours)"; skipped=$((skipped + 1)) ;;
87
+ elsewhere) note " skipped $(label "$dst") (already a link to $(readlink "$dst"))"; skipped=$((skipped + 1)) ;;
88
+ blocked) note " skipped $(label "$dst") (a real file is in the way; move it aside to use ours)"; skipped=$((skipped + 1)) ;;
89
89
  esac
90
90
  done < <(wanted)
91
91
  [ "$added" -gt 0 ] || say " nothing new to link"
@@ -124,7 +124,7 @@ refresh_herdr() {
124
124
  local current
125
125
  current=$(herdr_app status 2>/dev/null | sed -n 's/.*"layout": *"\([^"]*\)".*/\1/p' | head -n 1) || true
126
126
  if [ -z "$current" ]; then
127
- say " the Herdr app is not open; it picks everything up when it starts"
127
+ note " the Herdr app is not open; it picks everything up when it starts"
128
128
  return 0
129
129
  fi
130
130
  local other=main
@@ -133,6 +133,6 @@ refresh_herdr() {
133
133
  if herdr_app do layout.switch "{\"name\":\"$current\"}" >/dev/null 2>&1; then
134
134
  say " refreshed Herdr (layout: $current)"
135
135
  else
136
- say " could not switch Herdr back to '$current'; pick it from the Layout dropdown or press ctrl-shift-l"
136
+ note " could not switch Herdr back to '$current'; pick it from the Layout dropdown or press ctrl-shift-l"
137
137
  fi
138
138
  }
package/cli/lib/merges.sh CHANGED
@@ -260,7 +260,7 @@ merges_launchd() {
260
260
  fi
261
261
  say "Loading the launchd agent that wakes ocnus's watch on the merges after a restart"
262
262
  command -v launchctl >/dev/null 2>&1 || {
263
- say " skipped launchctl is not on this machine, so ocnus's watch on the merges does not come back after a restart on its own"
263
+ note " skipped launchctl is not on this machine, so ocnus's watch on the merges does not come back after a restart on its own"
264
264
  return 0
265
265
  }
266
266
  uid=$(id -u) && service=gui/$uid/$MERGES_LABEL
@@ -277,7 +277,7 @@ merges_launchd() {
277
277
  tmp=$MERGES_PLIST.ocnus.$$
278
278
  if ! { mkdir -p "${MERGES_PLIST%/*}" && printf '%s\n' "$text" > "$tmp" && mv -f "$tmp" "$MERGES_PLIST"; } 2>/dev/null; then
279
279
  rm -f "$tmp" 2>/dev/null || true
280
- say " problem could not write $MERGES_PLIST, so ocnus's watch on the merges does not come back after a restart on its own"
280
+ note " problem could not write $MERGES_PLIST, so ocnus's watch on the merges does not come back after a restart on its own"
281
281
  return 0
282
282
  fi
283
283
  [ "$loaded" = 0 ] || launchctl bootout "$service" >/dev/null 2>&1 || true
@@ -289,7 +289,7 @@ merges_launchd() {
289
289
  else
290
290
  why=$(printf '%s' "$why" | tr -s '\n' ' ')
291
291
  why=${why% }
292
- say " problem launchctl could not load $MERGES_PLIST${why:+ ($why)}, so ocnus's watch on the merges does not come back after a restart on its own. Run: ocnus update"
292
+ note " problem launchctl could not load $MERGES_PLIST${why:+ ($why)}, so ocnus's watch on the merges does not come back after a restart on its own. Run: ocnus update"
293
293
  fi
294
294
  }
295
295
 
@@ -0,0 +1,301 @@
1
+ # The picture install and status show while they work, in a terminal that
2
+ # can show all of it: the banner at the top, moving, a bar under it that
3
+ # fills as each of the command's steps finishes, and under the bar one line
4
+ # that says what is happening now. Sourced by cli/ocnus.
5
+ #
6
+ # The command calls progress_begin once, saying how many steps it has,
7
+ # progress_next as each step starts, and progress_end once the last one has
8
+ # finished. The picture shows only where stdout is a terminal of at least 79
9
+ # columns and 25 rows, the banner's 23 with the bar and the line, whose TERM
10
+ # is not dumb, and where NO_COLOR is not set. Anywhere else, progress_begin
11
+ # gives install the banner (banner.sh) and status nothing, the other calls do
12
+ # nothing, and both commands print what they always have.
13
+ #
14
+ # One process draws all of it, the frames, the bar and the line, so that no
15
+ # second writer can cut into a frame: progress_draw, in the background, with
16
+ # the terminal as its stdout. The command goes on in the main shell, as it
17
+ # does without the picture, so that set -e, die and Ctrl-C act on it as they
18
+ # always have. What it prints is held back meanwhile: its stdout, and its
19
+ # stderr when that is the terminal, go to a file in the picture's folder,
20
+ # which mktemp makes in TMPDIR. As each step starts, the command writes how
21
+ # many steps have finished and the step's line to another file there, which
22
+ # the drawing process reads before each frame. bash has what it starts in the
23
+ # background ignore Ctrl-C, so the drawing process is never ended by a
24
+ # signal: the command tells it, through that file, to end or to stop, and
25
+ # waits for it before it prints anything itself.
26
+ #
27
+ # At the end the bar is full, the line's row is empty, and the command
28
+ # prints from that row: status all it held back, then its closing lines,
29
+ # and install only its notes, the lines `note` prints, then its "Done"
30
+ # line. On an error, or Ctrl-C, the picture stops where it is, the bar and
31
+ # the line showing the step that was running, and all that was held back is
32
+ # printed below it, the error with it.
33
+
34
+ # The rows the picture takes: the banner's 23, the bar, on the row where the
35
+ # cursor waits under the banner, and the line under the bar.
36
+ PROGRESS_ROWS=$((BANNER_ROWS + 1))
37
+
38
+ # The colours of the bar: the share of the steps that have finished in the
39
+ # rope's, and the rest in the drawing's grey.
40
+ PROGRESS_DONE='38;5;179' PROGRESS_LEFT='38;5;243'
41
+
42
+ # While the picture shows: its folder, the drawing process, the command
43
+ # (install or status), how many steps it has and how many have started, and
44
+ # what the bar and the line should show now: how many steps have finished,
45
+ # a space, and the line. PROGRESS_STOPPED is 1 once the picture was told to
46
+ # stop. Once progress_finish is putting the picture away, PROGRESS_ENDING is
47
+ # 1, and a signal that comes then is kept in PROGRESS_GOT, for it to end
48
+ # ocnus as that signal would once it is done.
49
+ PROGRESS_DIR='' PROGRESS_PID='' PROGRESS_WHAT='' PROGRESS_STEPS=0 PROGRESS_AT=0
50
+ PROGRESS_SHOWS='' PROGRESS_STOPPED='' PROGRESS_ENDING='' PROGRESS_GOT=''
51
+
52
+ # Whether stdout is a terminal that can show the whole picture.
53
+ progress_fits() {
54
+ [ -z "${NO_COLOR:-}" ] && [ "${TERM:-}" != dumb ] || return 1
55
+ banner_size || return 1
56
+ [ "$TTY_COLS" -ge "$BANNER_COLS" ] && [ "$TTY_ROWS" -ge "$PROGRESS_ROWS" ]
57
+ }
58
+
59
+ # Show the picture, for a command with this many steps, or where it cannot
60
+ # show, give install the banner and status nothing. As with the banner,
61
+ # nothing here can stop or fail the command: where the folder cannot be
62
+ # made, it is as if the terminal could not show the picture.
63
+ #
64
+ # The folder is made in TMPDIR, or /tmp where that is not set, from a
65
+ # template that names it: given no template, macOS's mktemp makes it in a
66
+ # folder of its own choosing whatever TMPDIR says, and Linux's in TMPDIR.
67
+ #
68
+ # The drawing process starts with the terminal as its stdout, and the
69
+ # terminal is then kept on 8 and 9, as bash 3.2 has no {fd}> to pick free
70
+ # ones, for progress_finish to give stdout and stderr back. The traps are set,
71
+ # and cleared, as task_start sets its own (task.sh): EXIT for an error, such
72
+ # as die or a command that fails under set -e, and INT and TERM for Ctrl-C and
73
+ # a kill.
74
+ # progress_begin <install|status> <steps>
75
+ progress_begin() {
76
+ local what=$1 steps=$2 dir tmp=${TMPDIR:-/tmp}
77
+ [ -z "$PROGRESS_DIR" ] || return 0
78
+ [ "$steps" -ge 1 ] 2>/dev/null || steps=1
79
+ if ! progress_fits || ! dir=$(mktemp -d "${tmp%/}/ocnus-progress.XXXXXX" 2>/dev/null) || [ ! -d "$dir" ]; then
80
+ [ "$what" != install ] || banner
81
+ return 0
82
+ fi
83
+ if ! { printf '0 \n' > "$dir/state"; } 2>/dev/null; then
84
+ rm -rf "$dir" 2>/dev/null || true
85
+ [ "$what" != install ] || banner
86
+ return 0
87
+ fi
88
+ PROGRESS_DIR=$dir PROGRESS_WHAT=$what PROGRESS_STEPS=$steps PROGRESS_AT=0
89
+ PROGRESS_SHOWS='0 ' PROGRESS_STOPPED='' PROGRESS_ENDING='' PROGRESS_GOT=''
90
+ progress_draw "$dir" "$what" "$steps" 2>/dev/null &
91
+ PROGRESS_PID=$!
92
+ exec 8>&1 9>&2
93
+ exec > "$dir/out"
94
+ [ ! -t 9 ] || exec 2>&1
95
+ trap progress_stop EXIT
96
+ trap 'progress_signal INT' INT
97
+ trap 'progress_signal TERM' TERM
98
+ }
99
+
100
+ # The step before has finished, and this one starts: the bar takes in the
101
+ # one that finished, and the line becomes this one's. A line has no path in
102
+ # it, so that none can be too long for the row.
103
+ # progress_next <line>
104
+ progress_next() {
105
+ [ -n "$PROGRESS_DIR" ] || return 0
106
+ PROGRESS_AT=$((PROGRESS_AT + 1))
107
+ PROGRESS_SHOWS="$((PROGRESS_AT - 1)) $1"
108
+ progress_say "$PROGRESS_SHOWS"
109
+ }
110
+
111
+ # The last step has finished: the bar fills, the line empties, the banner
112
+ # comes to rest, and what was held back is printed below the picture.
113
+ progress_end() {
114
+ [ -n "$PROGRESS_DIR" ] || return 0
115
+ PROGRESS_SHOWS="$PROGRESS_STEPS "
116
+ progress_say end
117
+ progress_finish
118
+ }
119
+
120
+ # Write what the drawing process reads before each frame, one line in its
121
+ # own file: how many steps have finished and the line of the one running;
122
+ # end once the last one has finished; or stop, with what the bar and the line
123
+ # show then, so that a step that fails before the drawing process has drawn
124
+ # it is still the one the picture stops on. Only the command writes it. It
125
+ # is written in one go, and a line caught half written has no newline yet,
126
+ # which the drawing process reads as nothing new.
127
+ # progress_say <what>
128
+ progress_say() {
129
+ { printf '%s\n' "$1" > "$PROGRESS_DIR/state"; } 2>/dev/null || true
130
+ }
131
+
132
+ # The EXIT trap: the command is ending with an error, before progress_end.
133
+ # Nothing in a trap on EXIT may fail under set -e, or ocnus would exit with
134
+ # that failure's status rather than with the error's own.
135
+ progress_stop() {
136
+ set +e
137
+ [ -n "$PROGRESS_DIR" ] || return 0
138
+ PROGRESS_STOPPED=1
139
+ progress_say "stop $PROGRESS_SHOWS"
140
+ progress_finish
141
+ }
142
+
143
+ # The INT and TERM traps: stop the picture where it is, print what was held
144
+ # back, then end as that signal would have ended ocnus, as banner_play does,
145
+ # so that whatever ran ocnus sees it end the same way. A signal that comes
146
+ # while the picture is being put away already only stops the drawing, and
147
+ # progress_finish ends ocnus with it once it is done.
148
+ # progress_signal <INT|TERM>
149
+ progress_signal() {
150
+ PROGRESS_GOT=$1
151
+ [ -n "$PROGRESS_DIR" ] || { trap - "$1"; kill -"$1" $$; }
152
+ PROGRESS_STOPPED=1
153
+ progress_say "stop $PROGRESS_SHOWS"
154
+ [ -n "$PROGRESS_ENDING" ] || progress_finish
155
+ }
156
+
157
+ # Put the picture away: wait for the drawing process to end or stop, give
158
+ # stdout and stderr back to the terminal, show the cursor, whatever became of
159
+ # the drawing process, and print what was held back. That is all of it for
160
+ # status, and after a stop; for install it is only the notes. Then remove the
161
+ # folder and clear the traps. A signal cuts a wait short, so it waits again
162
+ # until the drawing process is gone. What was held back is printed by the
163
+ # shell itself, with no program that Ctrl-C could stop half way.
164
+ progress_finish() {
165
+ local dir=$PROGRESS_DIR pid=$PROGRESS_PID held line=''
166
+ PROGRESS_ENDING=1
167
+ while kill -0 "$pid" 2>/dev/null; do wait "$pid" 2>/dev/null || true; done
168
+ { exec 1>&8 2>&9; } 2>/dev/null || true
169
+ printf '\033[?25h' 2>/dev/null || true
170
+ held=$dir/out
171
+ [ -n "$PROGRESS_STOPPED" ] || [ "$PROGRESS_WHAT" != install ] || held=$dir/notes
172
+ if [ -f "$held" ]; then
173
+ { while IFS= read -r line; do printf '%s\n' "$line"; done
174
+ [ -z "$line" ] || printf '%s' "$line"; } < "$held" 2>/dev/null || true
175
+ fi
176
+ rm -rf "$dir" 2>/dev/null || true
177
+ { exec 8>&- 9>&-; } 2>/dev/null || true
178
+ PROGRESS_DIR='' PROGRESS_PID='' PROGRESS_STOPPED='' PROGRESS_ENDING=''
179
+ trap - EXIT INT TERM
180
+ [ -z "$PROGRESS_GOT" ] || kill -"$PROGRESS_GOT" $$
181
+ }
182
+
183
+ # Print a line the way say does, and while the picture shows, keep it for
184
+ # after the picture too: install prints its notes there, the lines that say
185
+ # something was skipped, is waiting, could not be done or is left for the
186
+ # human to do. Without the picture it is say.
187
+ # note <line>
188
+ note() {
189
+ say "$@"
190
+ [ -z "$PROGRESS_DIR" ] || { printf '%s\n' "$*" >> "$PROGRESS_DIR/notes"; } 2>/dev/null || true
191
+ }
192
+
193
+ # --- the drawing process ----------------------------------------------------
194
+
195
+ # Draw the bar on the cursor's row, which is the bar's, and go back to the
196
+ # start of the row: 79 ━, the finished share in the rope's colour and the
197
+ # rest in the drawing's grey. A share is a whole number of steps. The braces
198
+ # matter: bash 3.2 reads the first byte of ━ after a bare $name as part of
199
+ # the name.
200
+ # progress_bar <finished> <steps>
201
+ progress_bar() {
202
+ local fill i=0 got='' left='' n=$1
203
+ case $n in '' | *[!0-9]*) n=0 ;; esac
204
+ [ "$n" -le "$2" ] || n=$2
205
+ fill=$((BANNER_COLS * n / $2))
206
+ while [ "$i" -lt "$BANNER_COLS" ]; do
207
+ if [ "$i" -lt "$fill" ]; then got="${got}━"; else left="${left}━"; fi
208
+ i=$((i + 1))
209
+ done
210
+ [ -z "$got" ] || printf '\033[%sm%s' "$PROGRESS_DONE" "$got"
211
+ [ -z "$left" ] || printf '\033[%sm%s' "$PROGRESS_LEFT" "$left"
212
+ printf '\033[0m\r'
213
+ }
214
+
215
+ # Write the line under the bar, in place of what was there, from the bar's
216
+ # row, and go back to the start of the bar's row.
217
+ # progress_line <line>
218
+ progress_line() { printf '\033[1B\033[2K%s\r\033[1A' "$1"; }
219
+
220
+ # Draw the still banner again over a moving one, from the bar's row: go up
221
+ # to its first row, then print each line after clearing its row. The cursor
222
+ # ends back on the bar's row.
223
+ progress_redraw() {
224
+ local line
225
+ printf '\033[%sA' "$((BANNER_ROWS - 1))"
226
+ while IFS= read -r line; do printf '\033[2K%b\n' "$line"; done < <(banner_art)
227
+ }
228
+
229
+ # The drawing process, in the background, with the terminal as its stdout
230
+ # and nothing on its stderr. It hides the cursor and prints the still
231
+ # banner, then makes the line's row below the bar's, clears it, and draws the
232
+ # empty bar. The cursor then waits at the start of the bar's row, where each
233
+ # frame starts and ends. Then, before each frame, it reads what the command
234
+ # wrote, and draws the bar and the line again when what they should show has
235
+ # changed: the bar first, then the line.
236
+ #
237
+ # The banner moves as banner_frames has it move, and after their 28th frame
238
+ # goes on with banner_loop's, then round from banner_frames' second, for as
239
+ # long as the command works. Once the command says the end, it draws the bar
240
+ # full and the line empty. Then status has the still banner drawn again at
241
+ # once, within a frame's 0.11 seconds, with no frame after the full bar.
242
+ # install plays on to banner_frames' closing frame, which leaves the still
243
+ # banner, so that its banner moves for about three seconds, as it does
244
+ # without the picture, or, once the play is over, has the still banner drawn
245
+ # again. Either way the cursor then goes down to the line's row, where the
246
+ # command prints.
247
+ #
248
+ # Told to stop, or once the command's process is gone, it stops after the
249
+ # frame it is on, with the bar and the line of the step that was running,
250
+ # puts the colour back, and goes down below the line. It shows the cursor
251
+ # itself only when the command is gone, which would have shown it. INT is
252
+ # ignored in what bash starts in the background, and TERM is ignored here,
253
+ # so that a kill of the whole process group stops it only through the
254
+ # command.
255
+ # progress_draw <folder> <install|status> <steps>
256
+ progress_draw() {
257
+ local dir=$1 what=$2 steps=$3 frames=() closing line play state want shown='0 ' ending='' stopping=''
258
+ local i=0 played=0
259
+ set +eu
260
+ trap '' TERM
261
+ printf '\033[?25l'
262
+ banner_still 1
263
+ printf '\n\033[2K\033[1A'
264
+ progress_bar 0 "$steps"
265
+ while IFS= read -r line; do frames[${#frames[@]}]=$line; done < <(banner_frames)
266
+ play=$((${#frames[@]} - 1))
267
+ closing=${frames[$play]}
268
+ unset "frames[$play]"
269
+ while IFS= read -r line; do frames[${#frames[@]}]=$line; done < <(banner_loop)
270
+ while :; do
271
+ want=$shown
272
+ if IFS= read -r state < "$dir/state"; then
273
+ case $state in
274
+ end) ending=1 want="$steps " ;;
275
+ stop\ *) stopping=1 want=${state#stop } ;;
276
+ *) want=$state ;;
277
+ esac
278
+ fi
279
+ kill -0 $$ 2>/dev/null || stopping=1
280
+ if [ "$want" != "$shown" ]; then
281
+ shown=$want
282
+ progress_bar "${want%% *}" "$steps"
283
+ progress_line "${want#* }"
284
+ fi
285
+ [ -z "$stopping" ] || break
286
+ if [ -n "$ending" ] && { [ "$what" != install ] || [ "$played" -ge "$play" ]; }; then
287
+ if [ "$what" = install ] && [ "$played" = "$play" ]; then printf '%b' "${closing#* }"
288
+ else progress_redraw
289
+ fi
290
+ printf '\n'
291
+ return 0
292
+ fi
293
+ line=${frames[$i]}
294
+ printf '%b' "${line#* }"
295
+ sleep "${line%% *}"
296
+ played=$((played + 1)) i=$((i + 1))
297
+ [ "$i" -lt "${#frames[@]}" ] || i=1
298
+ done
299
+ printf '\033[0m\n\n'
300
+ kill -0 $$ 2>/dev/null || printf '\033[?25h'
301
+ }
@@ -276,7 +276,7 @@ settings_init() {
276
276
  say " made $SETTINGS (every profile on $DEFAULT_MODEL at $DEFAULT_EFFORT effort)"
277
277
  else
278
278
  rm -f "$tmp"
279
- say " note could not make $SETTINGS, so every profile runs on $DEFAULT_MODEL at $DEFAULT_EFFORT effort"
279
+ note " note could not make $SETTINGS, so every profile runs on $DEFAULT_MODEL at $DEFAULT_EFFORT effort"
280
280
  fi
281
281
  }
282
282
 
@@ -437,7 +437,7 @@ write_review_profiles() {
437
437
  is_clone || return 0
438
438
  [ -d "$REVIEW_SOURCES" ] || [ -d "$AGENTS_HOME" ] || return 0
439
439
  if ! settings_load; then
440
- say " skipped the review subagents: $SETTINGS_WHY"
440
+ note " skipped the review subagents: $SETTINGS_WHY"
441
441
  return 0
442
442
  fi
443
443
  for src in "$REVIEW_SOURCES"/*.md; do
@@ -456,10 +456,10 @@ write_review_profiles() {
456
456
  say " wrote $(label "$dst") ($model, $effort effort)"
457
457
  else
458
458
  rm -f "$tmp"
459
- say " skipped $(label "$dst") (it could not be written)"
459
+ note " skipped $(label "$dst") (it could not be written)"
460
460
  fi
461
461
  ;;
462
- skipped) say " skipped $(label "$dst") (a file of your own is there; move it aside to use ocnus's)" ;;
462
+ skipped) note " skipped $(label "$dst") (a file of your own is there; move it aside to use ocnus's)" ;;
463
463
  esac
464
464
  done
465
465
  [ -z "$only" ] || return 0
package/cli/ocnus CHANGED
@@ -662,8 +662,23 @@ terminal at least 44 columns wide gets the OCNUS letters alone, six lines,
662
662
  in colour unless NO_COLOR is set or TERM is dumb. Piped or sent to a file,
663
663
  or in a terminal narrower than 44 columns, both print what they print
664
664
  without it, with no banner and no letters. No other command shows either,
665
- nor does the usage an unknown command gets. NO_COLOR and TERM are read from
666
- the environment alone: the env file sets neither.
665
+ nor does the usage an unknown command gets, but for the picture below.
666
+ NO_COLOR and TERM are read from the environment alone: the env file sets
667
+ neither.
668
+
669
+ In a terminal one row taller, at least 79 columns wide and 25 rows tall,
670
+ whose TERM is not dumb, with NO_COLOR unset, `install` and `status` show
671
+ their work under the banner instead: the banner moves at the top, a bar
672
+ under it fills as each part of the work finishes, and under the bar one
673
+ line says what is being done now, such as "Checking the Linear key".
674
+ install's banner moves for about three seconds, and longer only while a
675
+ part is still running. Then the banner rests, and below it status prints
676
+ its report, and install the lines that are left for you to see to, such as
677
+ a link skipped or a folder missing from PATH, then its closing line. If
678
+ something fails, the picture stops where it is, and below it comes
679
+ everything the command printed, the error with it. Ctrl-C stops ocnus there
680
+ too. However it ends, the cursor shows again below it all. In any other
681
+ terminal, or piped, both print what they always have.
667
682
 
668
683
  The copy of ocnus in a git worktree of the ocnus repo, run as
669
684
  ./cli/ocnus, is a change being built. It runs only the commands that
@@ -828,7 +843,7 @@ TEMPLATE_MARK='<!-- ocnus:template -->'
828
843
 
829
844
  # Sourced, so every file shares the settings above and each other's functions.
830
845
  LIB=$REPO/cli/lib
831
- for part in common guard banner links recipes trust settings space linear archive tests approval billing chain usage cost task finish close agents github merges handoff asks sessions brief host events commands; do
846
+ for part in common guard banner progress links recipes trust settings space linear archive tests approval billing chain usage cost task finish close agents github merges handoff asks sessions brief host events commands; do
832
847
  [ -f "$LIB/$part.sh" ] ||
833
848
  { printf 'ocnus: %s is missing; reinstall ocnus\n' "$LIB/$part.sh" >&2; exit 1; }
834
849
  # shellcheck source=/dev/null
@@ -838,10 +853,12 @@ done
838
853
  # A worktree's copy runs only the commands that read, unless asked (guard.sh).
839
854
  guard_worktree "$@"
840
855
 
841
- # install and help open with the banner, in a terminal that can show it
842
- # (banner.sh). The usage an unknown command gets does not.
856
+ # help opens with the banner, in a terminal that can show it (banner.sh),
857
+ # and so does install, from progress_begin, where the picture it shows while
858
+ # it works cannot show (progress.sh). The usage an unknown command gets
859
+ # does not.
843
860
  case ${1:-help} in
844
- install) shift; banner; cmd_install "$@" ;;
861
+ install) shift; cmd_install "$@" ;;
845
862
  update) shift; cmd_update "$@" ;;
846
863
  status) shift; cmd_status "$@" ;;
847
864
  space) shift; cmd_space "$@" ;;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johngaynor/ocnus",
3
- "version": "2.0.1-next.86",
3
+ "version": "2.0.1-next.89",
4
4
  "description": "A software factory: agent skills and the Herdr setup to run them, installed with one command.",
5
5
  "license": "MIT",
6
6
  "bin": {