@astrofoundry/pi-astro 0.14.5 โ 0.14.6
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.
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
[38;2;1;
|
|
2
|
-
[38;2;1;
|
|
3
|
-
[38;2;1;2;1m[48;2;
|
|
4
|
-
[38;2;1;
|
|
5
|
-
[38;2;
|
|
6
|
-
[38;2;
|
|
7
|
-
[38;2;
|
|
8
|
-
[38;2;
|
|
9
|
-
[38;2;
|
|
10
|
-
[38;2;
|
|
11
|
-
[38;2;1;2;1m[48;2;
|
|
12
|
-
[38;2;
|
|
13
|
-
[38;2;
|
|
14
|
-
[38;2;0;
|
|
15
|
-
[38;2;
|
|
16
|
-
[38;2;3;4;1m[48;2;0;1;0mโ[38;2;0;0;0m[48;2;2;5;13mโ[38;2;103;86;37m[48;2;197;174;72mโ[38;2;208;160;14m[48;2;218;174;1mโ[38;2;255;199;0m[48;2;201;164;10mโ[38;2;255;204;0m[48;2;254;208;4mโ[38;2;184;137;13m[48;2;255;206;0mโ[38;2;27;50;105m[48;2;164;117;8mโ[38;2;72;70;64m[48;2;138;105;23mโ[38;2;255;206;0m[48;2;255;210;0mโ[38;2;203;164;9m[48;2;176;142;11mโ[38;2;245;197;4m[48;2;216;173;6mโ[38;2;255;215;0m[48;2;255;219;0mโ[38;2;143;125;39m[48;2;175;146;23mโ[38;2;0;22;163m[48;2;50;64;90mโ[38;2;0;40;158m[48;2;66;76;87mโ[38;2;0;33;156m[48;2;65;76;88mโ[38;2;0;38;157m[48;2;60;71;86mโ[38;2;45;84;192m[48;2;68;79;93mโ[38;2;183;162;69m[48;2;116;115;100mโ[38;2;111;111;84m[48;2;104;99;64mโ[38;2;0;9;175m[48;2;45;61;94mโ[38;2;144;125;40m[48;2;174;145;24mโ[38;2;255;216;0m[48;2;255;219;0mโ[38;2;246;199;4m[48;2;216;175;7mโ[38;2;202;164;8m[48;2;177;143;10mโ[38;2;255;206;0m[48;2;255;210;0mโ[38;2;75;71;62m[48;2;141;108;23mโ[38;2;26;49;104m[48;2;162;116;8mโ[38;2;183;136;14m[48;2;255;205;0mโ[38;2;255;203;0m[48;2;254;208;5mโ[38;2;255;199;0m[48;2;202;165;10mโ[38;2;207;160;12m[48;2;217;174;1mโ[38;2;106;88;37m[48;2;199;175;70mโ[38;2;0;0;0m[48;2;3;6;14mโ[38;2;2;3;1m[48;2;0;0;0mโ[0m
|
|
17
|
-
[38;2;0;0;0m[48;2;0;0;0mโ[38;2;28;31;34m[48;2;66;65;55mโ[38;2;252;216;71m[48;2;255;230;53mโ[38;2;246;194;0m[48;2;226;179;0mโ[38;2;204;163;10m[48;2;214;173;8mโ[38;2;255;209;2m[48;2;255;211;1mโ[38;2;244;188;3m[48;2;242;183;2mโ[38;2;188;133;7m[48;2;196;138;5mโ[38;2;204;147;4m[48;2;161;117;9mโ[38;2;182;144;11m[48;2;199;158;9mโ[38;2;188;151;10m[48;2;190;154;10mโ[38;2;207;166;8m[48;2;210;169;8mโ[38;2;212;170;7m[48;2;189;151;9mโ[38;2;255;205;0m[48;2;171;129;10mโ[38;2;255;206;0m[48;2;193;147;9mโ[38;2;255;206;0m[48;2;188;143;9mโ[38;2;255;206;0m[48;2;192;146;9mโ[38;2;255;209;0m[48;2;176;135;10mโ[38;2;255;206;0m[48;2;177;136;10mโ[38;2;253;201;0m[48;2;194;147;9mโ[38;2;253;203;0m[48;2;189;144;9mโ[38;2;255;207;0m[48;2;193;147;9mโ[38;2;255;206;0m[48;2;171;129;9mโ[38;2;212;170;7m[48;2;189;152;9mโ[38;2;206;165;8m[48;2;210;170;7mโ[38;2;188;152;10m[48;2;190;153;9mโ[38;2;182;144;11m[48;2;198;158;9mโ[38;2;205;147;4m[48;2;160;116;9mโ[38;2;189;133;6m[48;2;195;138;5mโ[38;2;244;188;2m[48;2;242;183;2mโ[38;2;255;209;2m[48;2;255;210;2mโ[38;2;204;164;10m[48;2;215;173;8mโ[38;2;245;193;0m[48;2;225;179;0mโ[38;2;253;217;68m[48;2;255;232;51mโ[38;2;30;32;34m[48;2;68;67;54mโ[38;2;0;0;0m[48;2;0;0;0mโ[0m
|
|
18
|
-
[38;2;0;0;0m[48;2;0;0;0mโ[38;2;78;75;56m[48;2;113;105;67mโ[38;2;247;205;36m[48;2;230;188;26mโ[38;2;201;160;0m[48;2;203;161;3mโ[38;2;226;182;6m[48;2;249;200;4mโ[38;2;255;208;2m[48;2;250;201;3mโ[38;2;242;180;2m[48;2;244;178;2mโ[38;2;181;128;6m[48;2;154;109;6mโ[38;2;182;131;6m[48;2;174;124;5mโ[38;2;255;208;1m[48;2;255;204;2mโ[38;2;218;177;7m[48;2;230;186;5mโ[38;2;164;131;13m[48;2;186;139;8mโ[38;2;190;142;7m[48;2;254;200;2mโ[38;2;251;196;2m[48;2;254;205;3mโ[38;2;249;196;2m[48;2;251;202;3mโ[38;2;248;195;3m[48;2;251;202;3mโ[38;2;255;202;2m[48;2;255;209;2mโ[38;2;216;171;5m[48;2;221;178;6mโ[38;2;217;170;5m[48;2;221;177;6mโ[38;2;255;202;2m[48;2;255;209;2mโ[38;2;248;195;3m[48;2;251;202;3mโ[38;2;250;196;3m[48;2;252;202;3mโ[38;2;252;197;2m[48;2;254;205;4mโ[38;2;193;144;7m[48;2;255;200;2mโ[38;2;164;131;12m[48;2;188;140;7mโ[38;2;217;175;7m[48;2;230;185;6mโ[38;2;255;208;2m[48;2;255;205;2mโ[38;2;183;132;5m[48;2;174;124;5mโ[38;2;181;128;6m[48;2;153;109;5mโ[38;2;243;180;2m[48;2;244;178;2mโ[38;2;255;208;3m[48;2;250;200;3mโ[38;2;227;183;7m[48;2;250;200;4mโ[38;2;201;160;1m[48;2;203;161;3mโ[38;2;247;205;35m[48;2;229;188;26mโ[38;2;79;75;55m[48;2;115;106;66mโ[38;2;0;0;0m[48;2;0;0;0mโ[0m
|
|
1
|
+
[38;2;1;1;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;1;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;3;4;3mโ[38;2;0;2;1m[48;2;4;4;2mโ[38;2;1;2;2m[48;2;0;0;0mโ[38;2;2;3;2m[48;2;0;0;0mโ[38;2;2;3;2m[48;2;0;0;0mโ[38;2;1;2;2m[48;2;0;0;0mโ[38;2;0;2;1m[48;2;4;4;2mโ[38;2;0;2;1m[48;2;3;4;3mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;1;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[0m
|
|
2
|
+
[38;2;1;1;1m[48;2;1;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;1;2;1m[48;2;1;1;1mโ[38;2;1;2;1m[48;2;1;2;1mโ[38;2;1;1;1m[48;2;1;2;1mโ[38;2;1;1;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;1;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;1;1;1m[48;2;1;3;2mโ[38;2;1;2;2m[48;2;2;2;0mโ[38;2;4;5;2m[48;2;0;0;0mโ[38;2;0;0;0m[48;2;52;49;33mโ[38;2;0;0;0m[48;2;168;149;63mโ[38;2;9;11;15m[48;2;223;192;57mโ[38;2;28;28;25m[48;2;242;205;52mโ[38;2;28;28;25m[48;2;242;205;52mโ[38;2;9;11;15m[48;2;223;192;57mโ[38;2;0;0;0m[48;2;169;149;62mโ[38;2;0;0;0m[48;2;53;50;32mโ[38;2;4;4;2m[48;2;0;0;0mโ[38;2;1;2;2m[48;2;2;2;0mโ[38;2;1;1;1m[48;2;2;2;2mโ[38;2;1;2;1m[48;2;1;1;1mโ[38;2;1;1;1m[48;2;1;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;1;1;1m[48;2;1;2;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;1;1;1m[48;2;1;2;1mโ[38;2;1;1;1m[48;2;1;2;1mโ[38;2;0;2;1m[48;2;1;2;1mโ[0m
|
|
3
|
+
[38;2;1;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;1;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;2;1mโ[38;2;1;1;1m[48;2;1;1;1mโ[38;2;1;1;1m[48;2;1;2;1mโ[38;2;1;3;2m[48;2;0;0;0mโ[38;2;4;5;2m[48;2;0;0;0mโ[38;2;2;3;0m[48;2;0;0;0mโ[38;2;0;0;3m[48;2;140;122;42mโ[38;2;117;105;53m[48;2;251;204;22mโ[38;2;231;192;35m[48;2;223;177;0mโ[38;2;255;223;9m[48;2;240;192;1mโ[38;2;255;208;0m[48;2;218;174;4mโ[38;2;255;206;0m[48;2;208;165;4mโ[38;2;255;206;0m[48;2;208;166;4mโ[38;2;255;207;0m[48;2;218;174;4mโ[38;2;255;223;9m[48;2;240;192;2mโ[38;2;232;193;34m[48;2;224;178;0mโ[38;2;119;106;52m[48;2;250;203;21mโ[38;2;0;0;4m[48;2;142;124;42mโ[38;2;3;2;0m[48;2;0;0;1mโ[38;2;5;5;3m[48;2;0;0;0mโ[38;2;2;3;2m[48;2;0;0;0mโ[38;2;1;1;1m[48;2;1;2;2mโ[38;2;1;2;1m[48;2;0;1;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;1;1;1m[48;2;1;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[0m
|
|
4
|
+
[38;2;1;1;1m[48;2;0;2;1mโ[38;2;1;1;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;2;2;1m[48;2;3;3;2mโ[38;2;0;0;0m[48;2;0;0;0mโ[38;2;18;17;8m[48;2;70;58;10mโ[38;2;86;73;18m[48;2;117;98;24mโ[38;2;123;104;28m[48;2;225;181;18mโ[38;2;253;205;17m[48;2;170;136;8mโ[38;2;208;164;0m[48;2;66;64;37mโ[38;2;144;117;12m[48;2;45;59;79mโ[38;2;103;89;25m[48;2;50;68;99mโ[38;2;75;72;43m[48;2;52;71;100mโ[38;2;63;66;51m[48;2;52;70;98mโ[38;2;63;64;50m[48;2;56;74;101mโ[38;2;75;71;42m[48;2;36;54;85mโ[38;2;105;90;25m[48;2;31;50;82mโ[38;2;142;115;12m[48;2;48;62;83mโ[38;2;206;162;0m[48;2;68;65;39mโ[38;2;255;207;19m[48;2;168;134;9mโ[38;2;123;103;26m[48;2;216;174;11mโ[38;2;104;89;29m[48;2;221;196;98mโ[38;2;23;22;11m[48;2;99;85;31mโ[38;2;0;0;0m[48;2;0;0;0mโ[38;2;2;2;2m[48;2;4;4;2mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;1;2;1mโ[38;2;1;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[0m
|
|
5
|
+
[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;2m[48;2;1;1;1mโ[38;2;3;4;1m[48;2;1;2;1mโ[38;2;0;0;0m[48;2;0;0;1mโ[38;2;94;76;9m[48;2;19;17;4mโ[38;2;159;129;18m[48;2;107;88;17mโ[38;2;160;127;9m[48;2;114;96;24mโ[38;2;45;52;54m[48;2;21;39;71mโ[38;2;52;72;104m[48;2;43;55;72mโ[38;2;59;74;92m[48;2;23;36;58mโ[38;2;41;54;72m[48;2;25;39;60mโ[38;2;31;45;63m[48;2;27;42;62mโ[38;2;27;41;60m[48;2;27;42;63mโ[38;2;28;42;61m[48;2;27;42;63mโ[38;2;28;42;61m[48;2;28;42;62mโ[38;2;38;52;70m[48;2;26;40;61mโ[38;2;60;75;94m[48;2;23;37;59mโ[38;2;49;68;101m[48;2;38;52;69mโ[38;2;41;49;52m[48;2;18;36;68mโ[38;2;160;128;11m[48;2;113;95;25mโ[38;2;154;124;14m[48;2;106;88;18mโ[38;2;92;75;9m[48;2;20;17;4mโ[38;2;0;0;0m[48;2;0;0;1mโ[38;2;3;4;1m[48;2;1;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;2m[48;2;0;1;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[0m
|
|
6
|
+
[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;1;3;1mโ[38;2;0;0;0m[48;2;0;0;1mโ[38;2;5;8;5m[48;2;25;20;2mโ[38;2;167;142;36m[48;2;205;162;5mโ[38;2;89;77;24m[48;2;80;68;21mโ[38;2;14;30;59m[48;2;3;16;39mโ[38;2;29;41;61m[48;2;20;34;49mโ[38;2;29;43;63m[48;2;24;37;57mโ[38;2;28;42;63m[48;2;27;40;60mโ[38;2;27;42;62m[48;2;27;41;62mโ[38;2;26;41;61m[48;2;27;41;62mโ[38;2;26;42;61m[48;2;27;41;62mโ[38;2;27;42;62m[48;2;28;41;62mโ[38;2;28;42;63m[48;2;26;40;60mโ[38;2;29;44;64m[48;2;23;38;57mโ[38;2;28;43;61m[48;2;21;34;50mโ[38;2;13;31;59m[48;2;4;15;39mโ[38;2;88;76;25m[48;2;79;67;20mโ[38;2;167;141;36m[48;2;206;162;6mโ[38;2;6;9;6m[48;2;26;21;2mโ[38;2;0;0;0m[48;2;0;0;1mโ[38;2;0;2;1m[48;2;1;3;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;2;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[0m
|
|
7
|
+
[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;1;2;1m[48;2;1;1;1mโ[38;2;0;1;1m[48;2;1;2;1mโ[38;2;3;3;1m[48;2;0;0;1mโ[38;2;155;118;10m[48;2;13;10;3mโ[38;2;100;83;17m[48;2;130;103;13mโ[38;2;3;7;28m[48;2;15;17;26mโ[38;2;15;20;31m[48;2;11;13;29mโ[38;2;11;22;36m[48;2;16;18;27mโ[38;2;13;26;42m[48;2;13;16;29mโ[38;2;15;28;45m[48;2;12;17;30mโ[38;2;16;29;46m[48;2;12;18;31mโ[38;2;15;30;46m[48;2;12;18;31mโ[38;2;15;29;45m[48;2;12;17;30mโ[38;2;13;25;42m[48;2;13;16;29mโ[38;2;12;21;37m[48;2;16;18;27mโ[38;2;15;20;31m[48;2;11;13;29mโ[38;2;2;7;28m[48;2;15;17;26mโ[38;2;102;83;17m[48;2;120;95;13mโ[38;2;159;119;10m[48;2;8;6;3mโ[38;2;4;4;1m[48;2;0;0;1mโ[38;2;0;1;1m[48;2;1;2;1mโ[38;2;1;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;1;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[0m
|
|
8
|
+
[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;3;4;1m[48;2;1;3;1mโ[38;2;0;0;1m[48;2;0;0;3mโ[38;2;118;91;7m[48;2;20;15;6mโ[38;2;128;104;17m[48;2;203;154;1mโ[38;2;0;5;28m[48;2;155;125;11mโ[38;2;5;10;30m[48;2;44;40;23mโ[38;2;13;16;29m[48;2;10;13;27mโ[38;2;16;17;28m[48;2;2;7;29mโ[38;2;16;17;28m[48;2;1;6;29mโ[38;2;16;18;28m[48;2;1;6;29mโ[38;2;16;17;28m[48;2;2;7;29mโ[38;2;14;16;29m[48;2;10;13;27mโ[38;2;6;10;30m[48;2;43;40;23mโ[38;2;0;5;28m[48;2;156;127;12mโ[38;2;118;96;17m[48;2;196;149;2mโ[38;2;181;140;11m[48;2;117;92;12mโ[38;2;29;24;5m[48;2;43;36;6mโ[38;2;0;0;1m[48;2;0;0;0mโ[38;2;1;3;2m[48;2;2;3;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[0m
|
|
9
|
+
[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;1;1;1m[48;2;2;5;4mโ[38;2;1;3;2m[48;2;0;0;0mโ[38;2;2;4;4m[48;2;0;0;0mโ[38;2;2;4;4m[48;2;0;0;0mโ[38;2;0;0;0m[48;2;35;39;45mโ[38;2;0;0;0m[48;2;87;88;78mโ[38;2;50;51;53m[48;2;112;121;127mโ[38;2;212;162;6m[48;2;55;77;133mโ[38;2;236;183;0m[48;2;124;101;35mโ[38;2;174;141;10m[48;2;207;156;2mโ[38;2;129;106;15m[48;2;239;180;0mโ[38;2;108;89;16m[48;2;247;188;0mโ[38;2;107;89;16m[48;2;246;188;0mโ[38;2;128;106;16m[48;2;239;181;0mโ[38;2;172;140;11m[48;2;208;157;1mโ[38;2;235;183;0m[48;2;126;102;33mโ[38;2;215;164;6m[48;2;55;76;131mโ[38;2;53;53;54m[48;2;113;122;127mโ[38;2;0;0;0m[48;2;90;90;78mโ[38;2;0;0;0m[48;2;37;41;46mโ[38;2;4;5;4m[48;2;0;0;0mโ[38;2;2;4;4m[48;2;0;0;0mโ[38;2;1;3;2m[48;2;0;0;0mโ[38;2;0;1;1m[48;2;3;4;4mโ[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;2;1m[48;2;1;2;1mโ[38;2;0;2;1m[48;2;0;2;1mโ[0m
|
|
10
|
+
[38;2;0;2;1m[48;2;0;2;1mโ[38;2;0;1;1m[48;2;3;4;3mโ[38;2;3;4;4m[48;2;0;0;0mโ[38;2;0;0;0m[48;2;27;34;52mโ[38;2;5;9;17m[48;2;224;212;147mโ[38;2;61;69;84m[48;2;186;169;85mโ[38;2;33;37;35m[48;2;16;46;113mโ[38;2;108;115;114m[48;2;120;107;37mโ[38;2;39;83;182m[48;2;2;41;131mโ[38;2;150;131;42m[48;2;89;86;55mโ[38;2;195;184;125m[48;2;220;172;0mโ[38;2;88;115;180m[48;2;241;200;32mโ[38;2;56;81;146m[48;2;207;187;95mโ[38;2;62;75;111m[48;2;178;174;132mโ[38;2;73;78;92m[48;2;154;159;146mโ[38;2;74;78;91m[48;2;155;159;146mโ[38;2;63;75;111m[48;2;177;173;132mโ[38;2;57;81;145m[48;2;206;187;96mโ[38;2;87;114;178m[48;2;241;200;33mโ[38;2;194;184;125m[48;2;221;173;0mโ[38;2;153;133;42m[48;2;91;88;54mโ[38;2;40;83;182m[48;2;1;40;131mโ[38;2;108;116;117m[48;2;122;108;39mโ[38;2;34;37;36m[48;2;18;47;113mโ[38;2;62;70;85m[48;2;184;168;85mโ[38;2;5;9;18m[48;2;229;215;145mโ[38;2;0;0;0m[48;2;32;37;48mโ[38;2;3;5;3m[48;2;0;0;0mโ[38;2;0;1;1m[48;2;3;5;3mโ[38;2;0;2;1m[48;2;0;2;1mโ[0m
|
|
11
|
+
[38;2;1;2;1m[48;2;2;4;3mโ[38;2;0;0;2m[48;2;0;0;0mโ[38;2;12;9;0m[48;2;38;50;81mโ[38;2;179;156;65m[48;2;195;164;34mโ[38;2;251;207;23m[48;2;231;183;0mโ[38;2;232;183;0m[48;2;220;181;16mโ[38;2;8;38;111m[48;2;1;32;110mโ[38;2;133;120;49m[48;2;110;106;63mโ[38;2;181;145;7m[48;2;255;223;0mโ[38;2;225;181;2m[48;2;230;188;14mโ[38;2;203;165;16m[48;2;208;181;58mโ[38;2;202;169;36m[48;2;250;209;39mโ[38;2;216;179;27m[48;2;251;208;31mโ[38;2;216;179;30m[48;2;244;203;35mโ[38;2;195;163;34m[48;2;236;200;44mโ[38;2;196;162;35m[48;2;237;201;42mโ[38;2;218;180;28m[48;2;236;200;44mโ[38;2;215;179;26m[48;2;251;209;34mโ[38;2;202;170;36m[48;2;250;209;38mโ[38;2;202;164;16m[48;2;207;179;59mโ[38;2;226;181;1m[48;2;230;187;15mโ[38;2;181;145;6m[48;2;255;224;0mโ[38;2;136;122;49m[48;2;113;108;62mโ[38;2;8;38;112m[48;2;0;30;108mโ[38;2;233;184;0m[48;2;222;182;15mโ[38;2;238;199;31m[48;2;219;176;2mโ[38;2;160;146;84m[48;2;52;75;133mโ[38;2;22;15;0m[48;2;37;50;80mโ[38;2;0;0;3m[48;2;0;0;0mโ[38;2;1;3;1m[48;2;1;3;3mโ[0m
|
|
12
|
+
[38;2;2;2;1m[48;2;0;0;0mโ[38;2;0;0;1m[48;2;30;36;48mโ[38;2;21;45;110m[48;2;238;204;65mโ[38;2;192;160;36m[48;2;243;193;0mโ[38;2;255;211;0m[48;2;64;78;85mโ[38;2;82;84;72m[48;2;102;91;55mโ[38;2;88;77;59m[48;2;192;146;13mโ[38;2;106;104;67m[48;2;104;100;64mโ[38;2;247;197;0m[48;2;234;186;3mโ[38;2;198;173;58m[48;2;230;187;14mโ[38;2;255;216;7m[48;2;255;214;0mโ[38;2;133;115;32m[48;2;72;81;85mโ[38;2;81;88;95m[48;2;0;28;173mโ[38;2;157;137;54m[48;2;56;88;173mโ[38;2;219;171;0m[48;2;189;165;62mโ[38;2;211;167;0m[48;2;255;215;0mโ[38;2;207;164;1m[48;2;241;196;13mโ[38;2;76;81;77m[48;2;0;38;157mโ[38;2;130;114;38m[48;2;65;77;92mโ[38;2;255;215;6m[48;2;255;215;0mโ[38;2;198;172;61m[48;2;230;189;13mโ[38;2;247;197;0m[48;2;235;187;2mโ[38;2;109;107;67m[48;2;107;103;63mโ[38;2;89;77;59m[48;2;190;145;13mโ[38;2;79;81;71m[48;2;107;95;56mโ[38;2;255;213;0m[48;2;63;76;87mโ[38;2;157;137;42m[48;2;249;196;0mโ[38;2;7;35;112m[48;2;241;206;63mโ[38;2;0;1;1m[48;2;32;38;49mโ[38;2;1;2;1m[48;2;0;0;0mโ[0m
|
|
13
|
+
[38;2;0;0;0m[48;2;0;0;0mโ[38;2;43;46;45m[48;2;19;19;15mโ[38;2;111;113;101m[48;2;160;130;37mโ[38;2;67;68;70m[48;2;231;179;0mโ[38;2;84;77;64m[48;2;255;208;0mโ[38;2;30;58;117m[48;2;177;138;25mโ[38;2;45;59;86m[48;2;17;38;97mโ[38;2;146;122;37m[48;2;192;150;18mโ[38;2;236;186;0m[48;2;232;185;2mโ[38;2;227;182;7m[48;2;229;184;7mโ[38;2;255;213;0m[48;2;255;216;0mโ[38;2;88;91;76m[48;2;68;77;82mโ[38;2;0;37;151m[48;2;0;20;168mโ[38;2;8;47;144m[48;2;0;31;151mโ[38;2;60;91;173m[48;2;0;28;158mโ[38;2;199;169;46m[48;2;45;80;176mโ[38;2;255;203;0m[48;2;171;151;63mโ[38;2;12;50;144m[48;2;0;35;147mโ[38;2;81;86;81m[48;2;59;71;90mโ[38;2;255;213;0m[48;2;255;217;0mโ[38;2;228;184;7m[48;2;230;186;7mโ[38;2;236;188;0m[48;2;231;185;2mโ[38;2;149;125;37m[48;2;193;152;18mโ[38;2;46;59;85m[48;2;17;38;95mโ[38;2;31;59;117m[48;2;176;136;26mโ[38;2;83;75;62m[48;2;255;207;0mโ[38;2;65;67;70m[48;2;231;179;0mโ[38;2;109;111;97m[48;2;161;131;35mโ[38;2;43;46;45m[48;2;21;20;16mโ[38;2;0;0;0m[48;2;0;0;0mโ[0m
|
|
14
|
+
[38;2;0;0;0m[48;2;0;0;0mโ[38;2;70;68;49m[48;2;122;112;67mโ[38;2;254;211;36m[48;2;255;225;21mโ[38;2;198;159;1m[48;2;207;165;2mโ[38;2;247;203;7m[48;2;252;205;3mโ[38;2;255;199;0m[48;2;238;180;3mโ[38;2;155;108;9m[48;2;188;131;6mโ[38;2;219;168;7m[48;2;182;138;9mโ[38;2;198;159;9m[48;2;179;145;11mโ[38;2;201;161;8m[48;2;214;172;7mโ[38;2;255;207;0m[48;2;196;157;9mโ[38;2;182;153;27m[48;2;221;173;1mโ[38;2;133;121;53m[48;2;235;183;0mโ[38;2;143;129;50m[48;2;232;181;0mโ[38;2;140;126;47m[48;2;231;180;0mโ[38;2;145;130;55m[48;2;231;179;0mโ[38;2;169;147;53m[48;2;228;177;0mโ[38;2;139;124;47m[48;2;233;182;0mโ[38;2;180;153;29m[48;2;222;174;1mโ[38;2;255;207;0m[48;2;195;158;9mโ[38;2;201;162;8m[48;2;213;172;7mโ[38;2;198;160;8m[48;2;179;145;12mโ[38;2;220;169;8m[48;2;181;137;9mโ[38;2;155;108;9m[48;2;188;131;5mโ[38;2;255;198;0m[48;2;238;180;3mโ[38;2;247;203;7m[48;2;252;205;3mโ[38;2;199;159;1m[48;2;206;165;2mโ[38;2;254;211;34m[48;2;255;225;19mโ[38;2;72;69;49m[48;2;124;114;65mโ[38;2;0;0;0m[48;2;0;0;0mโ[0m
|
|
15
|
+
[38;2;0;0;0m[48;2;0;0;4mโ[38;2;145;130;65m[48;2;161;141;62mโ[38;2;250;201;10m[48;2;217;173;6mโ[38;2;205;165;5m[48;2;230;184;4mโ[38;2;255;208;2m[48;2;254;204;2mโ[38;2;240;179;2m[48;2;234;171;2mโ[38;2;165;116;7m[48;2;146;102;6mโ[38;2;217;165;5m[48;2;232;173;2mโ[38;2;227;183;6m[48;2;248;201;3mโ[38;2;178;143;11m[48;2;185;141;9mโ[38;2;188;143;8m[48;2;246;193;2mโ[38;2;221;170;5m[48;2;255;210;2mโ[38;2;221;171;7m[48;2;255;206;2mโ[38;2;227;175;5m[48;2;255;213;2mโ[38;2;197;153;8m[48;2;230;186;5mโ[38;2;198;153;9m[48;2;231;185;5mโ[38;2;228;176;6m[48;2;255;213;2mโ[38;2;221;171;7m[48;2;255;206;3mโ[38;2;221;171;5m[48;2;255;210;3mโ[38;2;190;145;7m[48;2;247;193;3mโ[38;2;177;142;11m[48;2;186;141;8mโ[38;2;226;182;7m[48;2;248;200;4mโ[38;2;217;166;5m[48;2;232;174;3mโ[38;2;165;115;7m[48;2;145;101;6mโ[38;2;240;178;2m[48;2;234;171;2mโ[38;2;255;208;3m[48;2;255;204;3mโ[38;2;206;165;6m[48;2;230;185;5mโ[38;2;249;201;11m[48;2;217;173;6mโ[38;2;146;131;63m[48;2;162;142;61mโ[38;2;0;0;0m[48;2;0;0;4mโ[0m
|
|
@@ -14,6 +14,12 @@ export interface WelcomeStats {
|
|
|
14
14
|
|
|
15
15
|
const TITLE = "โ
ASTRO PI โ
";
|
|
16
16
|
const HINT = "Press any key to launch ยท auto-dismiss in 6s";
|
|
17
|
+
const FRAME_TL = "โญ";
|
|
18
|
+
const FRAME_TR = "โฎ";
|
|
19
|
+
const FRAME_BL = "โฐ";
|
|
20
|
+
const FRAME_BR = "โฏ";
|
|
21
|
+
const FRAME_HORIZONTAL = "โ";
|
|
22
|
+
const FRAME_VERTICAL = "โ";
|
|
17
23
|
|
|
18
24
|
function formatTokens(n: number | undefined): string {
|
|
19
25
|
if (n === undefined || n <= 0) return "โ";
|
|
@@ -69,16 +75,30 @@ class CompositeMask implements Mask {
|
|
|
69
75
|
}
|
|
70
76
|
}
|
|
71
77
|
|
|
78
|
+
function truncate(line: string, width: number): string {
|
|
79
|
+
return visibleWidth(line) <= width ? line : line.slice(0, width);
|
|
80
|
+
}
|
|
81
|
+
|
|
72
82
|
export function composeWelcome(width: number, seed: number, stats: WelcomeStats): string[] {
|
|
73
83
|
const hasVersion = !!stats.pkgVersion;
|
|
74
|
-
const
|
|
75
|
-
const
|
|
76
|
-
const
|
|
84
|
+
const aw = artWidth();
|
|
85
|
+
const ah = artHeight();
|
|
86
|
+
const frameWidth = aw + 2;
|
|
77
87
|
const safeWidth = Math.max(40, width);
|
|
78
|
-
|
|
88
|
+
|
|
89
|
+
const versionRow = 1;
|
|
90
|
+
const frameTopRow = hasVersion ? 2 : 1;
|
|
91
|
+
const artStartRow = frameTopRow + 1;
|
|
92
|
+
const frameBottomRow = artStartRow + ah;
|
|
93
|
+
const taglineRow = frameBottomRow + 2;
|
|
94
|
+
const statsRow = taglineRow + 2;
|
|
95
|
+
const hintRow = statsRow + 2;
|
|
96
|
+
const totalRows = hintRow + 1;
|
|
97
|
+
|
|
98
|
+
const frameStartCol = Math.max(0, Math.floor((safeWidth - frameWidth) / 2));
|
|
79
99
|
|
|
80
100
|
const mask = new CompositeMask(totalRows, safeWidth);
|
|
81
|
-
mask.occupyArt(
|
|
101
|
+
mask.occupyArt(frameTopRow, frameStartCol, frameBottomRow - frameTopRow + 1, frameWidth);
|
|
82
102
|
|
|
83
103
|
const titleLine = fg(PALETTE.title, TITLE);
|
|
84
104
|
const titlePlaced = centerInLine(titleLine, safeWidth);
|
|
@@ -93,53 +113,43 @@ export function composeWelcome(width: number, seed: number, stats: WelcomeStats)
|
|
|
93
113
|
|
|
94
114
|
const taglineRaw = pickMessage(seed);
|
|
95
115
|
const taglineLine = fg(PALETTE.tagline, taglineRaw);
|
|
96
|
-
const taglineRow = artStartRow + artHeight() + 1;
|
|
97
116
|
const taglinePlaced = centerInLine(taglineLine, safeWidth);
|
|
98
117
|
mask.occupy(taglineRow, taglinePlaced.col, visibleWidth(taglineLine));
|
|
99
118
|
|
|
100
119
|
const statsRaw = statsLine(stats);
|
|
101
120
|
const statsColored = fg(PALETTE.stats, statsRaw);
|
|
102
|
-
const statsRow = taglineRow + 2;
|
|
103
121
|
const statsPlaced = centerInLine(statsColored, safeWidth);
|
|
104
122
|
mask.occupy(statsRow, statsPlaced.col, visibleWidth(statsColored));
|
|
105
123
|
|
|
106
124
|
const hintColored = fg(PALETTE.hint, HINT);
|
|
107
|
-
const hintRow = statsRow + 2;
|
|
108
125
|
const hintPlaced = centerInLine(hintColored, safeWidth);
|
|
109
126
|
mask.occupy(hintRow, hintPlaced.col, visibleWidth(hintColored));
|
|
110
127
|
|
|
111
128
|
const stars = renderStarfield(safeWidth, totalRows, seed, mask);
|
|
112
129
|
const artLines = renderArt();
|
|
113
130
|
|
|
131
|
+
const frameTop = fg(PALETTE.title, FRAME_TL + FRAME_HORIZONTAL.repeat(aw) + FRAME_TR);
|
|
132
|
+
const frameBot = fg(PALETTE.title, FRAME_BL + FRAME_HORIZONTAL.repeat(aw) + FRAME_BR);
|
|
133
|
+
const frameLeft = fg(PALETTE.title, FRAME_VERTICAL);
|
|
134
|
+
const frameRight = fg(PALETTE.title, FRAME_VERTICAL);
|
|
135
|
+
const padLeft = " ".repeat(frameStartCol);
|
|
136
|
+
|
|
114
137
|
const composed: string[] = [];
|
|
115
138
|
for (let r = 0; r < totalRows; r++) {
|
|
116
139
|
let line = stars[r] ?? " ".repeat(safeWidth);
|
|
117
140
|
|
|
118
|
-
if (r === 0) line =
|
|
119
|
-
if (versionPlaced && r === versionRow) line =
|
|
120
|
-
if (r ===
|
|
121
|
-
if (r ===
|
|
122
|
-
if (r
|
|
123
|
-
|
|
124
|
-
if (r >= artStartRow && r < artStartRow + artHeight()) {
|
|
141
|
+
if (r === 0) line = truncate(titlePlaced.line, safeWidth);
|
|
142
|
+
else if (versionPlaced && r === versionRow) line = truncate(versionPlaced.line, safeWidth);
|
|
143
|
+
else if (r === frameTopRow) line = truncate(padLeft + frameTop, safeWidth);
|
|
144
|
+
else if (r === frameBottomRow) line = truncate(padLeft + frameBot, safeWidth);
|
|
145
|
+
else if (r > frameTopRow && r < frameBottomRow) {
|
|
125
146
|
const artLine = artLines[r - artStartRow];
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
147
|
+
line = truncate(padLeft + frameLeft + artLine + frameRight, safeWidth);
|
|
148
|
+
} else if (r === taglineRow) line = truncate(taglinePlaced.line, safeWidth);
|
|
149
|
+
else if (r === statsRow) line = truncate(statsPlaced.line, safeWidth);
|
|
150
|
+
else if (r === hintRow) line = truncate(hintPlaced.line, safeWidth);
|
|
129
151
|
|
|
130
152
|
composed.push(line);
|
|
131
153
|
}
|
|
132
154
|
return composed;
|
|
133
155
|
}
|
|
134
|
-
|
|
135
|
-
function overlay(starLine: string, payload: string, width: number): string {
|
|
136
|
-
return truncate(payload, width);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
function overlayAt(_starLine: string, payload: string, width: number, _startCol: number, _payloadWidth: number): string {
|
|
140
|
-
return truncate(payload, width);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
function truncate(line: string, width: number): string {
|
|
144
|
-
return visibleWidth(line) <= width ? line : line.slice(0, width);
|
|
145
|
-
}
|