whirled_peas 0.11.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/doc/components.md +0 -4
- data/doc/themes.md +35 -0
- data/examples/components.rb +2 -4
- data/examples/graph.rb +1 -1
- data/lib/whirled_peas/animator/debug_consumer.rb +2 -2
- data/lib/whirled_peas/animator/easing.rb +57 -0
- data/lib/whirled_peas/animator/frameset.rb +13 -8
- data/lib/whirled_peas/animator/producer.rb +7 -8
- data/lib/whirled_peas/animator/renderer_consumer.rb +7 -5
- data/lib/whirled_peas/command/frames.rb +1 -3
- data/lib/whirled_peas/command/play.rb +5 -7
- data/lib/whirled_peas/command/record.rb +1 -3
- data/lib/whirled_peas/command/still.rb +6 -2
- data/lib/whirled_peas/command/themes.rb +4 -3
- data/lib/whirled_peas/component/list_with_active.rb +1 -1
- data/lib/whirled_peas/config.rb +1 -8
- data/lib/whirled_peas/device/null_device.rb +1 -1
- data/lib/whirled_peas/device/output_file.rb +2 -2
- data/lib/whirled_peas/device/rendered_frame.rb +12 -0
- data/lib/whirled_peas/device/screen.rb +12 -8
- data/lib/whirled_peas/graphics/pixel_grid.rb +44 -0
- data/lib/whirled_peas/graphics/renderer.rb +4 -5
- data/lib/whirled_peas/settings/border.rb +1 -1
- data/lib/whirled_peas/utils/ansi.rb +4 -2
- data/lib/whirled_peas/utils/file_handler.rb +14 -9
- data/lib/whirled_peas/utils/formatted_string.rb +5 -3
- data/lib/whirled_peas/version.rb +1 -1
- data/screen_test/components/list_with_active/l2r_position_end.frame +1 -1
- data/screen_test/components/list_with_active/l2r_position_middle.frame +1 -1
- data/screen_test/components/list_with_active/l2r_position_start.frame +1 -1
- data/screen_test/components/list_with_active/l2r_separator.frame +1 -1
- data/screen_test/components/list_with_active/t2b_position_end.frame +1 -1
- data/screen_test/components/list_with_active/t2b_position_middle.frame +1 -1
- data/screen_test/components/list_with_active/t2b_position_start.frame +1 -1
- data/screen_test/components/list_with_active/t2b_separator.frame +1 -1
- data/screen_test/elements/box.frame +1 -1
- data/screen_test/elements/graph_asc.frame +1 -1
- data/screen_test/elements/graph_desc.frame +1 -1
- data/screen_test/elements/graph_horiz.frame +1 -1
- data/screen_test/elements/graph_sin.frame +1 -1
- data/screen_test/elements/grid.frame +1 -1
- data/screen_test/elements/screen_overflow_x.frame +1 -1
- data/screen_test/elements/screen_overflow_y.frame +1 -1
- data/screen_test/elements/text.frame +1 -1
- data/screen_test/elements/text_multiline.frame +1 -1
- data/screen_test/elements/theme.frame +1 -1
- data/screen_test/settings/align/box_around.frame +1 -1
- data/screen_test/settings/align/box_between.frame +1 -1
- data/screen_test/settings/align/box_center.frame +1 -1
- data/screen_test/settings/align/box_default.frame +1 -1
- data/screen_test/settings/align/box_evenly.frame +1 -1
- data/screen_test/settings/align/box_left.frame +1 -1
- data/screen_test/settings/align/box_right.frame +1 -1
- data/screen_test/settings/align/children_center.frame +1 -1
- data/screen_test/settings/align/children_left.frame +1 -1
- data/screen_test/settings/align/children_right.frame +1 -1
- data/screen_test/settings/align/grid_center.frame +1 -1
- data/screen_test/settings/align/grid_default.frame +1 -1
- data/screen_test/settings/align/grid_left.frame +1 -1
- data/screen_test/settings/align/grid_right.frame +1 -1
- data/screen_test/settings/ansi/bold.frame +1 -1
- data/screen_test/settings/ansi/color.frame +1 -1
- data/screen_test/settings/ansi/underline.frame +1 -1
- data/screen_test/settings/border.frame +1 -1
- data/screen_test/settings/content_start/box_bottom.frame +1 -1
- data/screen_test/settings/content_start/box_left.frame +1 -1
- data/screen_test/settings/content_start/box_left_negative.frame +1 -1
- data/screen_test/settings/content_start/box_right.frame +1 -1
- data/screen_test/settings/content_start/box_top.frame +1 -1
- data/screen_test/settings/content_start/box_top_negative.frame +1 -1
- data/screen_test/settings/content_start/grid_left.frame +1 -1
- data/screen_test/settings/content_start/grid_left_negative.frame +1 -1
- data/screen_test/settings/content_start/grid_top.frame +1 -1
- data/screen_test/settings/content_start/grid_top_negative.frame +1 -1
- data/screen_test/settings/flow/box_b2t.frame +1 -1
- data/screen_test/settings/flow/box_l2r.frame +1 -1
- data/screen_test/settings/flow/box_r2l.frame +1 -1
- data/screen_test/settings/flow/box_t2b.frame +1 -1
- data/screen_test/settings/flow/grid_b2t.frame +1 -1
- data/screen_test/settings/flow/grid_l2r.frame +1 -1
- data/screen_test/settings/flow/grid_r2l.frame +1 -1
- data/screen_test/settings/flow/grid_t2b.frame +1 -1
- data/screen_test/settings/height/box.frame +1 -1
- data/screen_test/settings/height/box_border_sizing.frame +1 -1
- data/screen_test/settings/height/grid.frame +1 -1
- data/screen_test/settings/height/overflow_box.frame +1 -1
- data/screen_test/settings/height/overflow_box_l2r.frame +1 -1
- data/screen_test/settings/height/overflow_box_t2b.frame +1 -1
- data/screen_test/settings/height/overflow_grid.frame +1 -1
- data/screen_test/settings/margin.frame +1 -1
- data/screen_test/settings/padding.frame +1 -1
- data/screen_test/settings/scroll/horiz_box.frame +1 -1
- data/screen_test/settings/scroll/vert_box.frame +1 -1
- data/screen_test/settings/title_font.frame +1 -1
- data/screen_test/settings/valign/box_around.frame +1 -1
- data/screen_test/settings/valign/box_between.frame +1 -1
- data/screen_test/settings/valign/box_bottom.frame +1 -1
- data/screen_test/settings/valign/box_default.frame +1 -1
- data/screen_test/settings/valign/box_evenly.frame +1 -1
- data/screen_test/settings/valign/box_middle.frame +1 -1
- data/screen_test/settings/valign/box_top.frame +1 -1
- data/screen_test/settings/valign/grid_bottom.frame +1 -1
- data/screen_test/settings/valign/grid_default.frame +1 -1
- data/screen_test/settings/valign/grid_middle.frame +1 -1
- data/screen_test/settings/valign/grid_top.frame +1 -1
- data/screen_test/settings/width/box_border_sizing.frame +1 -1
- data/screen_test/settings/width/box_content.frame +1 -1
- data/screen_test/settings/width/box_default.frame +1 -1
- data/screen_test/settings/width/grid.frame +1 -1
- data/screen_test/settings/width/overflow_align_center.frame +1 -1
- data/screen_test/settings/width/overflow_align_right.frame +1 -1
- data/screen_test/settings/width/overflow_box.frame +1 -1
- data/screen_test/settings/width/overflow_box_l2r.frame +1 -1
- data/screen_test/settings/width/overflow_box_t2b.frame +1 -1
- data/screen_test/settings/width/overflow_grid.frame +1 -1
- data/tools/whirled_peas/tools/screen_tester.rb +5 -2
- metadata +3 -5
- data/screen_test/components/list_with_active/l2r_active_color.frame +0 -1
- data/screen_test/components/list_with_active/l2r_active_color.rb +0 -18
- data/screen_test/components/list_with_active/t2b_active_color.frame +0 -1
- data/screen_test/components/list_with_active/t2b_active_color.rb +0 -19
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━━━━━━━━━━━━━━┓ [0m[2;1H[97m[40m┃┏━━━━━━━━━┓ ┃ [0m[3;1H[97m[40m┃┃3. NARROW┃ ┃ [0m[4;1H[97m[40m┃┗━━━━━━━━━┛ ┃ [0m[5;1H[97m[40m┃┏━━━━━━━━━━━━━━━━━━━━━┓┃ [0m[6;1H[97m[40m┃┃ 2. WIDE ┃┃ [0m[7;1H[97m[40m┃┗━━━━━━━━━━━━━━━━━━━━━┛┃ [0m[8;1H[97m[40m┃┏━━━━━━━━━━━━━━━┓ ┃ [0m[9;1H[97m[40m┃┃ 1. MEDIUM ┃ ┃ [0m[10;1H[97m[40m┃┗━━━━━━━━━━━━━━━┛ ┃ [0m[11;1H[97m[40m┗━━━━━━━━━━━━━━━━━━━━━━━┛ [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓[0m[2;1H[97m[40m┃┏━━━━━━━━━┓┏━━━━━━━┓┏━━━━━━━━┓┃[0m[3;1H[97m[40m┃┃ ┃┃ ┃┃3. SHORT┃┃[0m[4;1H[97m[40m┃┃ ┃┃ ┃┗━━━━━━━━┛┃[0m[5;1H[97m[40m┃┃1. MEDIUM┃┃ ┃ ┃[0m[6;1H[97m[40m┃┃ ┃┃ ┃ ┃[0m[7;1H[97m[40m┃┃ ┃┃2. TALL┃ ┃[0m[8;1H[97m[40m┃┗━━━━━━━━━┛┃ ┃ ┃[0m[9;1H[97m[40m┃ ┃ ┃ ┃[0m[10;1H[97m[40m┃ ┃ ┃ ┃[0m[11;1H[97m[40m┃ ┃ ┃ ┃[0m[12;1H[97m[40m┃ ┗━━━━━━━┛ ┃[0m[13;1H[97m[40m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛[0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓[0m[2;1H[97m[40m┃┏━━━━━━━━┓┏━━━━━━━┓┏━━━━━━━━━┓┃[0m[3;1H[97m[40m┃┃3. SHORT┃┃ ┃┃ ┃┃[0m[4;1H[97m[40m┃┗━━━━━━━━┛┃ ┃┃ ┃┃[0m[5;1H[97m[40m┃ ┃ ┃┃1. MEDIUM┃┃[0m[6;1H[97m[40m┃ ┃ ┃┃ ┃┃[0m[7;1H[97m[40m┃ ┃2. TALL┃┃ ┃┃[0m[8;1H[97m[40m┃ ┃ ┃┗━━━━━━━━━┛┃[0m[9;1H[97m[40m┃ ┃ ┃ ┃[0m[10;1H[97m[40m┃ ┃ ┃ ┃[0m[11;1H[97m[40m┃ ┃ ┃ ┃[0m[12;1H[97m[40m┃ ┗━━━━━━━┛ ┃[0m[13;1H[97m[40m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛[0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━━━━━━━━━━━━━━┓ [0m[2;1H[97m[40m┃┏━━━━━━━━━━━━━━━┓ ┃ [0m[3;1H[97m[40m┃┃ 1. MEDIUM ┃ ┃ [0m[4;1H[97m[40m┃┗━━━━━━━━━━━━━━━┛ ┃ [0m[5;1H[97m[40m┃┏━━━━━━━━━━━━━━━━━━━━━┓┃ [0m[6;1H[97m[40m┃┃ 2. WIDE ┃┃ [0m[7;1H[97m[40m┃┗━━━━━━━━━━━━━━━━━━━━━┛┃ [0m[8;1H[97m[40m┃┏━━━━━━━━━┓ ┃ [0m[9;1H[97m[40m┃┃3. NARROW┃ ┃ [0m[10;1H[97m[40m┃┗━━━━━━━━━┛ ┃ [0m[11;1H[97m[40m┗━━━━━━━━━━━━━━━━━━━━━━━┛ [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━┳━━┳━━┳━━┓ [0m[2;1H[97m[40m┃3 ┃6 ┃9 ┃ ┃ [0m[3;1H[97m[40m┣━━╋━━╋━━╋━━┫ [0m[4;1H[97m[40m┃2 ┃5 ┃8 ┃ ┃ [0m[5;1H[97m[40m┣━━╋━━╋━━╋━━┫ [0m[6;1H[97m[40m┃1 ┃4 ┃7 ┃10┃ [0m[7;1H[97m[40m┗━━┻━━┻━━┻━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━┳━━┳━━┳━━┓ [0m[2;1H[97m[40m┃1 ┃2 ┃3 ┃4 ┃ [0m[3;1H[97m[40m┣━━╋━━╋━━╋━━┫ [0m[4;1H[97m[40m┃5 ┃6 ┃7 ┃8 ┃ [0m[5;1H[97m[40m┣━━╋━━╋━━╋━━┫ [0m[6;1H[97m[40m┃9 ┃10┃ ┃ ┃ [0m[7;1H[97m[40m┗━━┻━━┻━━┻━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━┳━━┳━━┳━━┓ [0m[2;1H[97m[40m┃4 ┃3 ┃2 ┃1 ┃ [0m[3;1H[97m[40m┣━━╋━━╋━━╋━━┫ [0m[4;1H[97m[40m┃8 ┃7 ┃6 ┃5 ┃ [0m[5;1H[97m[40m┣━━╋━━╋━━╋━━┫ [0m[6;1H[97m[40m┃ ┃ ┃10┃9 ┃ [0m[7;1H[97m[40m┗━━┻━━┻━━┻━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━┳━━┳━━┳━━┓ [0m[2;1H[97m[40m┃1 ┃4 ┃7 ┃10┃ [0m[3;1H[97m[40m┣━━╋━━╋━━╋━━┫ [0m[4;1H[97m[40m┃2 ┃5 ┃8 ┃ ┃ [0m[5;1H[97m[40m┣━━╋━━╋━━╋━━┫ [0m[6;1H[97m[40m┃3 ┃6 ┃9 ┃ ┃ [0m[7;1H[97m[40m┗━━┻━━┻━━┻━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━┓ [0m[2;1H[97m[40m┃Multi┃ [0m[3;1H[97m[40m┃Line ┃ [0m[4;1H[97m[40m┃ ┃ [0m[5;1H[97m[40m┃ ┃ [0m[6;1H[97m[40m┃ ┃ [0m[7;1H[97m[40m┗━━━━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━┓ [0m[2;1H[97m[40m┃ ┃ [0m[3;1H[97m[40m┃11┃ [0m[4;1H[97m[40m┃22┃ [0m[5;1H[97m[40m┃ ┃ [0m[6;1H[97m[40m┗━━┛ [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┳━┳━┳━┓ [0m[2;1H[97m[40m┃0┃1┃2┃3┃ [0m[3;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[4;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[5;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[6;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[7;1H[97m[40m┣━╋━╋━╋━┫ [0m[8;1H[97m[40m┃4┃5┃6┃7┃ [0m[9;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[10;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[11;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[12;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[13;1H[97m[40m┣━╋━╋━╋━┫ [0m[14;1H[97m[40m┃8┃9┃ ┃ ┃ [0m[15;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[16;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[17;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[18;1H[97m[40m┃ ┃ ┃ ┃ ┃ [0m[19;1H[97m[40m┗━┻━┻━┻━┛ [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━┓ [0m[2;1H[97m[40m┃XO┃ [0m[3;1H[97m[40m┃XO┃ [0m[4;1H[97m[40m┃XO┃ [0m[5;1H[97m[40m┃XO┃ [0m[6;1H[97m[40m┃XO┃ [0m[7;1H[97m[40m┗━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━┓ [0m[2;1H[97m[40m┃000┃ [0m[3;1H[97m[40m┃111┃ [0m[4;1H[97m[40m┃222┃ [0m[5;1H[97m[40m┃333┃ [0m[6;1H[97m[40m┃444┃ [0m[7;1H[97m[40m┗━━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━┓ [0m[2;1H[97m[40m┃XO┃ [0m[3;1H[97m[40m┃XO┃ [0m[4;1H[97m[40m┃XO┃ [0m[5;1H[97m[40m┃XO┃ [0m[6;1H[97m[40m┃XO┃ [0m[7;1H[97m[40m┗━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃0┃ [0m[3;1H[97m[40m┃1┃ [0m[4;1H[97m[40m┃2┃ [0m[5;1H[97m[40m┃3┃ [0m[6;1H[97m[40m┃4┃ [0m[7;1H[97m[40m┗━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━━━━━━━━━━┓ [0m[2;1H[97m[40m┃ ┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃ ┏━━━━━━━━━┓ ┃ [0m[5;1H[97m[40m┃ ┃Inner Box┃ ┃ [0m[6;1H[97m[40m┃ ┗━━━━━━━━━┛ ┃ [0m[7;1H[97m[40m┃ ┃ [0m[8;1H[97m[40m┗━━━━━━━━━━━━━━━━━━━┛ [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━━━━━━━━━━┓ [0m[2;1H[97m[40m┃ ┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃ Padded Room ┃ [0m[5;1H[97m[40m┃ ┃ [0m[6;1H[97m[40m┗━━━━━━━━━━━━━━━━━━━┛ [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━┓ [0m[2;1H[97m[40m┃EFGHI┃ [0m[3;1H[97m[40m┃ ▄ ┃ [0m[4;1H[97m[40m┗━━━━━┛ [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━┓ [0m[2;1H[97m[40m┃E ┃ [0m[3;1H[97m[40m┃F▐┃ [0m[4;1H[97m[40m┃G ┃ [0m[5;1H[97m[40m┃H ┃ [0m[6;1H[97m[40m┃I ┃ [0m[7;1H[97m[40m┗━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m██╗ ██╗██╗██╗ [0m[2;1H[97m[40m██║ ██║██║██║ [0m[3;1H[97m[40m███████║██║██║ [0m[4;1H[97m[40m██╔══██║██║╚═╝ [0m[5;1H[97m[40m██║ ██║██║██╗ [0m[6;1H[97m[40m╚═╝ ╚═╝╚═╝╚═╝ [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃ ┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃A┃ [0m[5;1H[97m[40m┃ ┃ [0m[6;1H[97m[40m┃ ┃ [0m[7;1H[97m[40m┃ ┃ [0m[8;1H[97m[40m┃ ┃ [0m[9;1H[97m[40m┃B┃ [0m[10;1H[97m[40m┃ ┃ [0m[11;1H[97m[40m┃ ┃ [0m[12;1H[97m[40m┃ ┃ [0m[13;1H[97m[40m┃ ┃ [0m[14;1H[97m[40m┃C┃ [0m[15;1H[97m[40m┃ ┃ [0m[16;1H[97m[40m┃ ┃ [0m[17;1H[97m[40m┗━┛ [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃A┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃ ┃ [0m[5;1H[97m[40m┃ ┃ [0m[6;1H[97m[40m┃ ┃ [0m[7;1H[97m[40m┃ ┃ [0m[8;1H[97m[40m┃ ┃ [0m[9;1H[97m[40m┃B┃ [0m[10;1H[97m[40m┃ ┃ [0m[11;1H[97m[40m┃ ┃ [0m[12;1H[97m[40m┃ ┃ [0m[13;1H[97m[40m┃ ┃ [0m[14;1H[97m[40m┃ ┃ [0m[15;1H[97m[40m┃ ┃ [0m[16;1H[97m[40m┃C┃ [0m[17;1H[97m[40m┗━┛ [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃ ┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃ ┃ [0m[5;1H[97m[40m┃ ┃ [0m[6;1H[97m[40m┃ ┃ [0m[7;1H[97m[40m┃ ┃ [0m[8;1H[97m[40m┃ ┃ [0m[9;1H[97m[40m┃ ┃ [0m[10;1H[97m[40m┃ ┃ [0m[11;1H[97m[40m┃ ┃ [0m[12;1H[97m[40m┃ ┃ [0m[13;1H[97m[40m┃ ┃ [0m[14;1H[97m[40m┃A┃ [0m[15;1H[97m[40m┃B┃ [0m[16;1H[97m[40m┃C┃ [0m[17;1H[97m[40m┗━┛ [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃A┃ [0m[3;1H[97m[40m┃B┃ [0m[4;1H[97m[40m┃C┃ [0m[5;1H[97m[40m┃ ┃ [0m[6;1H[97m[40m┃ ┃ [0m[7;1H[97m[40m┃ ┃ [0m[8;1H[97m[40m┃ ┃ [0m[9;1H[97m[40m┃ ┃ [0m[10;1H[97m[40m┃ ┃ [0m[11;1H[97m[40m┃ ┃ [0m[12;1H[97m[40m┃ ┃ [0m[13;1H[97m[40m┃ ┃ [0m[14;1H[97m[40m┃ ┃ [0m[15;1H[97m[40m┃ ┃ [0m[16;1H[97m[40m┃ ┃ [0m[17;1H[97m[40m┗━┛ [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃ ┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃ ┃ [0m[5;1H[97m[40m┃A┃ [0m[6;1H[97m[40m┃ ┃ [0m[7;1H[97m[40m┃ ┃ [0m[8;1H[97m[40m┃ ┃ [0m[9;1H[97m[40m┃B┃ [0m[10;1H[97m[40m┃ ┃ [0m[11;1H[97m[40m┃ ┃ [0m[12;1H[97m[40m┃ ┃ [0m[13;1H[97m[40m┃C┃ [0m[14;1H[97m[40m┃ ┃ [0m[15;1H[97m[40m┃ ┃ [0m[16;1H[97m[40m┃ ┃ [0m[17;1H[97m[40m┗━┛ [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃ ┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃ ┃ [0m[5;1H[97m[40m┃ ┃ [0m[6;1H[97m[40m┃ ┃ [0m[7;1H[97m[40m┃ ┃ [0m[8;1H[97m[40m┃A┃ [0m[9;1H[97m[40m┃B┃ [0m[10;1H[97m[40m┃C┃ [0m[11;1H[97m[40m┃ ┃ [0m[12;1H[97m[40m┃ ┃ [0m[13;1H[97m[40m┃ ┃ [0m[14;1H[97m[40m┃ ┃ [0m[15;1H[97m[40m┃ ┃ [0m[16;1H[97m[40m┃ ┃ [0m[17;1H[97m[40m┗━┛ [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃A┃ [0m[3;1H[97m[40m┃B┃ [0m[4;1H[97m[40m┃C┃ [0m[5;1H[97m[40m┃ ┃ [0m[6;1H[97m[40m┃ ┃ [0m[7;1H[97m[40m┃ ┃ [0m[8;1H[97m[40m┃ ┃ [0m[9;1H[97m[40m┃ ┃ [0m[10;1H[97m[40m┃ ┃ [0m[11;1H[97m[40m┃ ┃ [0m[12;1H[97m[40m┃ ┃ [0m[13;1H[97m[40m┃ ┃ [0m[14;1H[97m[40m┃ ┃ [0m[15;1H[97m[40m┃ ┃ [0m[16;1H[97m[40m┃ ┃ [0m[17;1H[97m[40m┗━┛ [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃ ┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃A┃ [0m[5;1H[97m[40m┗━┛ [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃A┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃ ┃ [0m[5;1H[97m[40m┗━┛ [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃ ┃ [0m[3;1H[97m[40m┃A┃ [0m[4;1H[97m[40m┃ ┃ [0m[5;1H[97m[40m┗━┛ [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━┓ [0m[2;1H[97m[40m┃A┃ [0m[3;1H[97m[40m┃ ┃ [0m[4;1H[97m[40m┃ ┃ [0m[5;1H[97m[40m┗━┛ [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━━━━┓ [0m[2;1H[97m[40m┃ 15/bor ┃ [0m[3;1H[97m[40m┗━━━━━━━━━━━━━┛ [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━━━━━━━━━━━━━┓ [0m[2;1H[97m[40m┃ 15/content ┃ [0m[3;1H[97m[40m┗━━━━━━━━━━━━━━━━━━━━━━┛ [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━━━━━━━━━━━━━┓ [0m[2;1H[97m[40m┃ 15/default ┃ [0m[3;1H[97m[40m┗━━━━━━━━━━━━━━━━━━━━━━┛ [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━┳━━━━━━┓ [0m[2;1H[97m[40m┃6 ┃6 ┃ [0m[3;1H[97m[40m┣━━━━━━╋━━━━━━┫ [0m[4;1H[97m[40m┃6 ┃6 ┃ [0m[5;1H[97m[40m┣━━━━━━╋━━━━━━┫ [0m[6;1H[97m[40m┃6 ┃6 ┃ [0m[7;1H[97m[40m┗━━━━━━┻━━━━━━┛ [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━┓ [0m[2;1H[97m[40m┃345┃ [0m[3;1H[97m[40m┗━━━┛ [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━┓ [0m[2;1H[97m[40m┃456┃ [0m[3;1H[97m[40m┗━━━┛ [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━┓ [0m[2;1H[97m[40m┃ABCDEFGHIJ┃ [0m[3;1H[97m[40m┗━━━━━━━━━━┛ [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━┓ [0m[2;1H[97m[40m┃0|0|1|0|1|┃ [0m[3;1H[97m[40m┗━━━━━━━━━━┛ [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━┓ [0m[2;1H[97m[40m┃XO ┃ [0m[3;1H[97m[40m┃XOXO ┃ [0m[4;1H[97m[40m┃XOXOXO ┃ [0m[5;1H[97m[40m┃XOXOXOXO ┃ [0m[6;1H[97m[40m┃XOXOXOXOXO┃ [0m[7;1H[97m[40m┃XOXOXOXOXO┃ [0m[8;1H[97m[40m┃XOXOXOXOXO┃ [0m[9;1H[97m[40m┃XOXOXOXOXO┃ [0m[10;1H[97m[40m┃XOXOXOXOXO┃ [0m[11;1H[97m[40m┃XOXOXOXOXO┃ [0m[12;1H[97m[40m┗━━━━━━━━━━┛ [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -1 +1 @@
|
|
1
|
-
[?25l[1;1H[J[
|
1
|
+
[?25l[1;1H[J[97m[40m┏━━━━━━━━━━┓ [0m[2;1H[97m[40m┃ABCDEFGHIJ┃ [0m[3;1H[97m[40m┗━━━━━━━━━━┛ [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[0m[24;1H[?25h
|
@@ -2,6 +2,7 @@ require 'bundler/setup'
|
|
2
2
|
require 'whirled_peas'
|
3
3
|
require 'whirled_peas/animator/producer'
|
4
4
|
require 'whirled_peas/animator/renderer_consumer'
|
5
|
+
require 'whirled_peas/device/rendered_frame'
|
5
6
|
require 'whirled_peas/device/screen'
|
6
7
|
require 'whirled_peas/graphics/debugger'
|
7
8
|
require 'whirled_peas/graphics/renderer'
|
@@ -286,12 +287,14 @@ module WhirledPeas
|
|
286
287
|
|
287
288
|
def render_screen(template_factory, output)
|
288
289
|
Utils::Ansi.with_screen(output, width: SCREEN_WIDTH, height: SCREEN_HEIGHT) do
|
289
|
-
|
290
|
+
strokes = Graphics::Renderer.new(
|
290
291
|
template_factory.build('test', {}),
|
291
292
|
SCREEN_WIDTH,
|
292
293
|
SCREEN_HEIGHT
|
293
294
|
).paint
|
294
|
-
Device::Screen.new(
|
295
|
+
Device::Screen.new(output: output).handle_rendered_frames(
|
296
|
+
[Device::RenderedFrame.new(strokes, 0)]
|
297
|
+
)
|
295
298
|
end
|
296
299
|
end
|
297
300
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whirled_peas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Collier
|
@@ -115,6 +115,7 @@ files:
|
|
115
115
|
- lib/whirled_peas/device.rb
|
116
116
|
- lib/whirled_peas/device/null_device.rb
|
117
117
|
- lib/whirled_peas/device/output_file.rb
|
118
|
+
- lib/whirled_peas/device/rendered_frame.rb
|
118
119
|
- lib/whirled_peas/device/screen.rb
|
119
120
|
- lib/whirled_peas/errors.rb
|
120
121
|
- lib/whirled_peas/graphics.rb
|
@@ -131,6 +132,7 @@ files:
|
|
131
132
|
- lib/whirled_peas/graphics/graph_painter.rb
|
132
133
|
- lib/whirled_peas/graphics/grid_painter.rb
|
133
134
|
- lib/whirled_peas/graphics/painter.rb
|
135
|
+
- lib/whirled_peas/graphics/pixel_grid.rb
|
134
136
|
- lib/whirled_peas/graphics/renderer.rb
|
135
137
|
- lib/whirled_peas/graphics/scrollbar_helper.rb
|
136
138
|
- lib/whirled_peas/graphics/text_painter.rb
|
@@ -164,8 +166,6 @@ files:
|
|
164
166
|
- lib/whirled_peas/utils/formatted_string.rb
|
165
167
|
- lib/whirled_peas/utils/title_font.rb
|
166
168
|
- lib/whirled_peas/version.rb
|
167
|
-
- screen_test/components/list_with_active/l2r_active_color.frame
|
168
|
-
- screen_test/components/list_with_active/l2r_active_color.rb
|
169
169
|
- screen_test/components/list_with_active/l2r_position_end.frame
|
170
170
|
- screen_test/components/list_with_active/l2r_position_end.rb
|
171
171
|
- screen_test/components/list_with_active/l2r_position_middle.frame
|
@@ -174,8 +174,6 @@ files:
|
|
174
174
|
- screen_test/components/list_with_active/l2r_position_start.rb
|
175
175
|
- screen_test/components/list_with_active/l2r_separator.frame
|
176
176
|
- screen_test/components/list_with_active/l2r_separator.rb
|
177
|
-
- screen_test/components/list_with_active/t2b_active_color.frame
|
178
|
-
- screen_test/components/list_with_active/t2b_active_color.rb
|
179
177
|
- screen_test/components/list_with_active/t2b_position_end.frame
|
180
178
|
- screen_test/components/list_with_active/t2b_position_end.rb
|
181
179
|
- screen_test/components/list_with_active/t2b_position_middle.frame
|
@@ -1 +0,0 @@
|
|
1
|
-
[?25l[1;1H[J[1;1H[97m[40m [0m[2;1H[97m[40m [0m[3;1H[97m[40m [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[1;1H[97m[40m┏━━━━━━━━━━┓[0m[2;1H[97m[40m┃ ┃[0m[3;1H[97m[40m┃ ▗▄▄▄▖ ┃[0m[4;1H[97m[40m┗━━━━━━━━━━┛[0m[2;2H[97m[40mH[0m[2;3H[97m[40mI[0m[2;4H[97m[40mJ[0m[2;5H[97m[40mK[0m[2;6H[97m[40mL[0m[2;7H[97m[40mM[0m[2;8H[90m[107mN[0m[2;9H[97m[40mO[0m[2;10H[97m[40mP[0m[2;11H[97m[40mQ[0m[0m[24;1H[?25h
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'whirled_peas'
|
2
|
-
require 'whirled_peas/component/list_with_active'
|
3
|
-
|
4
|
-
class TemplateFactory
|
5
|
-
ITEMS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.chars
|
6
|
-
|
7
|
-
def build(*)
|
8
|
-
WhirledPeas.template(:test) do |composer, settings|
|
9
|
-
WhirledPeas.component(composer, settings, :list_with_active) do |component|
|
10
|
-
component.items = ITEMS
|
11
|
-
component.active_index = ITEMS.length / 2
|
12
|
-
component.viewport_size = 10
|
13
|
-
component.active_color = :gray
|
14
|
-
component.active_bg_color = :bright_white
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
[?25l[1;1H[J[1;1H[97m[40m [0m[2;1H[97m[40m [0m[3;1H[97m[40m [0m[4;1H[97m[40m [0m[5;1H[97m[40m [0m[6;1H[97m[40m [0m[7;1H[97m[40m [0m[8;1H[97m[40m [0m[9;1H[97m[40m [0m[10;1H[97m[40m [0m[11;1H[97m[40m [0m[12;1H[97m[40m [0m[13;1H[97m[40m [0m[14;1H[97m[40m [0m[15;1H[97m[40m [0m[16;1H[97m[40m [0m[17;1H[97m[40m [0m[18;1H[97m[40m [0m[19;1H[97m[40m [0m[20;1H[97m[40m [0m[21;1H[97m[40m [0m[22;1H[97m[40m [0m[23;1H[97m[40m [0m[24;1H[97m[40m [0m[1;1H[97m[40m┏━━┓[0m[2;1H[97m[40m┃ ┃[0m[3;1H[97m[40m┃ ┃[0m[4;1H[97m[40m┃ ▗┃[0m[5;1H[97m[40m┃ ▐┃[0m[6;1H[97m[40m┃ ▐┃[0m[7;1H[97m[40m┃ ▐┃[0m[8;1H[97m[40m┃ ▝┃[0m[9;1H[97m[40m┃ ┃[0m[10;1H[97m[40m┃ ┃[0m[11;1H[97m[40m┃ ┃[0m[12;1H[97m[40m┗━━┛[0m[2;2H[97m[40mH[0m[3;2H[97m[40mI[0m[4;2H[97m[40mJ[0m[5;2H[97m[40mK[0m[6;2H[97m[40mL[0m[7;2H[97m[40mM[0m[8;2H[90m[107mN[0m[9;2H[97m[40mO[0m[10;2H[97m[40mP[0m[11;2H[97m[40mQ[0m[0m[24;1H[?25h
|
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'whirled_peas'
|
2
|
-
require 'whirled_peas/component/list_with_active'
|
3
|
-
|
4
|
-
class TemplateFactory
|
5
|
-
ITEMS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.chars
|
6
|
-
|
7
|
-
def build(*)
|
8
|
-
WhirledPeas.template(:test) do |composer, settings|
|
9
|
-
WhirledPeas.component(composer, settings, :list_with_active) do |component|
|
10
|
-
component.flow = :t2b
|
11
|
-
component.items = ITEMS
|
12
|
-
component.active_index = ITEMS.length / 2
|
13
|
-
component.viewport_size = 10
|
14
|
-
component.active_color = :gray
|
15
|
-
component.active_bg_color = :bright_white
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|