vedeu 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/integrations/342_streams.rb +74 -0
- data/integrations/dsl_app_001.rb +58 -0
- data/integrations/dsl_app_002.rb +59 -0
- data/integrations/dsl_app_003.rb +58 -0
- data/integrations/dsl_app_004.rb +63 -0
- data/integrations/dsl_app_005.rb +62 -0
- data/integrations/dsl_app_006.rb +57 -0
- data/integrations/dsl_app_007.rb +63 -0
- data/integrations/dsl_app_008.rb +65 -0
- data/integrations/dsl_app_009.rb +70 -0
- data/integrations/dsl_app_010.rb +71 -0
- data/integrations/dsl_app_011.rb +61 -0
- data/integrations/dsl_app_012.rb +59 -0
- data/integrations/dsl_app_013.rb +60 -0
- data/integrations/dsl_app_014.rb +60 -0
- data/integrations/dsl_app_015.rb +60 -0
- data/integrations/dsl_app_016.rb +64 -0
- data/integrations/dsl_app_017.rb +56 -0
- data/integrations/dsl_app_018.rb +56 -0
- data/integrations/dsl_app_019.rb +56 -0
- data/integrations/dsl_app_020.rb +56 -0
- data/integrations/expected/342_streams.out +1 -0
- data/integrations/expected/dsl_app_001.out +1 -0
- data/integrations/expected/dsl_app_002.out +1 -0
- data/integrations/expected/dsl_app_003.out +1 -0
- data/integrations/expected/dsl_app_004.out +1 -0
- data/integrations/expected/dsl_app_005.out +1 -0
- data/integrations/expected/dsl_app_006.out +1 -0
- data/integrations/expected/dsl_app_007.out +1 -0
- data/integrations/expected/dsl_app_008.out +1 -0
- data/integrations/expected/dsl_app_009.out +1 -0
- data/integrations/expected/dsl_app_010.out +1 -0
- data/integrations/expected/dsl_app_011.out +1 -0
- data/integrations/expected/dsl_app_012.out +1 -0
- data/integrations/expected/dsl_app_013.out +1 -0
- data/integrations/expected/dsl_app_014.out +1 -0
- data/integrations/expected/dsl_app_015.out +1 -0
- data/integrations/expected/dsl_app_016.out +1 -0
- data/integrations/support/test_interface.rb +13 -0
- data/integrations/test_runner.sh +32 -0
- data/lib/vedeu/cells/empty.rb +14 -0
- data/lib/vedeu/colours/background.rb +13 -0
- data/lib/vedeu/colours/colour.rb +11 -4
- data/lib/vedeu/colours/foreground.rb +13 -0
- data/lib/vedeu/common.rb +42 -0
- data/lib/vedeu/dsl/attributes.rb +1 -1
- data/lib/vedeu/dsl/elements.rb +57 -23
- data/lib/vedeu/dsl/string/align.rb +17 -2
- data/lib/vedeu/geometries/position.rb +5 -0
- data/lib/vedeu/geometries/positionable.rb +2 -2
- data/lib/vedeu/presentation/style.rb +5 -0
- data/lib/vedeu/renderers/all.rb +1 -0
- data/lib/vedeu/renderers/escape.rb +96 -0
- data/lib/vedeu/repositories/defaults.rb +14 -6
- data/lib/vedeu/runtime/launcher.rb +5 -1
- data/lib/vedeu/version.rb +1 -1
- data/lib/vedeu/views/lines.rb +5 -0
- data/lib/vedeu/views/stream.rb +8 -1
- data/lib/vedeu/views/streams.rb +6 -1
- data/lib/vedeu/views/value.rb +2 -8
- data/lib/vedeu/views/view.rb +1 -1
- data/test/lib/vedeu/colours/colour_test.rb +0 -8
- data/test/lib/vedeu/common_test.rb +72 -0
- data/test/lib/vedeu/dsl/string/align_test.rb +1 -1
- metadata +43 -17
- data/examples/284_slow_rendering.rb +0 -108
- data/examples/views/expected/vedeu_line.html +0 -140
- data/examples/views/expected/vedeu_line.json +0 -96050
- data/examples/views/expected/vedeu_line.out +0 -1
- data/examples/views/expected/vedeu_line.txt +0 -58
- data/examples/views/expected/vedeu_lines.html +0 -140
- data/examples/views/expected/vedeu_lines.json +0 -96050
- data/examples/views/expected/vedeu_lines.out +0 -1
- data/examples/views/expected/vedeu_lines_alignment.html +0 -80
- data/examples/views/expected/vedeu_lines_alignment.json +0 -46370
- data/examples/views/expected/vedeu_lines_alignment.out +0 -1
- data/examples/views/line.rb +0 -128
- data/examples/views/lines.rb +0 -165
- data/examples/views/lines_alignment.rb +0 -126
- data/examples/views/runner.sh +0 -73
@@ -1 +0,0 @@
|
|
1
|
-
[0m[0m[0m[3;4H[39m[49m(0l(B[3;5H(0q(B[3;6H [3;7HT[3;8He[3;9Hs[3;10Ht[3;11H [3;12H1[3;13H [3;14H(0q(B[3;15H(0q(B[3;16H(0q(B[3;17H(0q(B[3;18H(0q(B[3;19H(0q(B[3;20H(0q(B[3;21H(0q(B[3;22H(0q(B[3;23H(0q(B[3;24H(0q(B[3;25H(0q(B[3;26H(0q(B[3;27H(0q(B[3;28H(0q(B[3;29H(0q(B[3;30H(0q(B[3;31H(0q(B[3;32H(0q(B[3;33H(0q(B[3;34H(0q(B[3;35H(0k(B[3;41H[38;5;39m[48;5;16m(0l(B[3;42H(0q(B[3;43H [3;44HT[3;45He[3;46Hs[3;47Ht[3;48H [3;49H2[3;50H [3;51H(0q(B[3;52H(0q(B[3;53H(0q(B[3;54H(0q(B[3;55H(0q(B[3;56H(0q(B[3;57H(0q(B[3;58H(0q(B[3;59H(0q(B[3;60H(0q(B[3;61H(0q(B[3;62H(0q(B[3;63H(0q(B[3;64H(0q(B[3;65H(0q(B[3;66H(0q(B[3;67H(0q(B[3;68H(0q(B[3;69H(0q(B[3;70H(0q(B[3;71H(0q(B[3;72H(0k(B[0m[4;4H[39m[49m(0x(B[4;5H[38;5;154m[48;5;16mv[4;6Hi[4;7He[4;8Hw[4;9H-[4;10H>[4;11Hl[4;12Hi[4;13Hn[4;14He[4;15H [4;16H([4;17Ha[4;18Hl[4;19Hi[4;20Hg[4;21Hn[4;22H:[4;23H [4;24H:[4;25Hl[4;26He[4;27Hf[4;28Ht[4;29H)[4;30H [4;31H [4;32H [4;33H [4;34H [4;35H[39m[49m(0x(B[4;41H[38;5;39m[48;5;16m(0x(B[4;42H[39m[49mv[4;43Hi[4;44He[4;45Hw[4;46H-[4;47H>[4;48Hl[4;49He[4;50Hf[4;51Ht[4;52H [4;53H [4;54H [4;55H [4;56H [4;57H [4;58H [4;59H [4;60H [4;61H [4;62H [4;63H [4;64H [4;65H [4;66H [4;67H [4;68H [4;69H [4;70H [4;71H [4;72H[38;5;39m[48;5;16m(0x(B[0m[5;4H[39m[49m(0x(B[5;5H[38;5;154m[48;5;16m [5;6Hv[5;7Hi[5;8He[5;9Hw[5;10H-[5;11H>[5;12Hl[5;13Hi[5;14Hn[5;15He[5;16H [5;17H([5;18Ha[5;19Hl[5;20Hi[5;21Hg[5;22Hn[5;23H:[5;24H [5;25H:[5;26Hc[5;27He[5;28Hn[5;29Ht[5;30He[5;31Hr[5;32H)[5;33H [5;34H [5;35H[39m[49m(0x(B[5;41H[38;5;39m[48;5;16m(0x(B[5;42H[39m[49m [5;43H [5;44H [5;45H [5;46H [5;47H [5;48H [5;49H [5;50H [5;51Hv[5;52Hi[5;53He[5;54Hw[5;55H-[5;56H>[5;57Hc[5;58He[5;59Hn[5;60Ht[5;61He[5;62Hr[5;63H [5;64H [5;65H [5;66H [5;67H [5;68H [5;69H [5;70H [5;71H [5;72H[38;5;39m[48;5;16m(0x(B[0m[6;4H[39m[49m(0x(B[6;5H[38;5;154m[48;5;16m [6;6Hv[6;7Hi[6;8He[6;9Hw[6;10H-[6;11H>[6;12Hl[6;13Hi[6;14Hn[6;15He[6;16H [6;17H([6;18Ha[6;19Hl[6;20Hi[6;21Hg[6;22Hn[6;23H:[6;24H [6;25H:[6;26Hc[6;27He[6;28Hn[6;29Ht[6;30Hr[6;31He[6;32H)[6;33H [6;34H [6;35H[39m[49m(0x(B[6;41H[38;5;39m[48;5;16m(0x(B[6;42H[39m[49m [6;43H [6;44H [6;45H [6;46H [6;47H [6;48H [6;49H [6;50H [6;51Hv[6;52Hi[6;53He[6;54Hw[6;55H-[6;56H>[6;57Hc[6;58He[6;59Hn[6;60Ht[6;61Hr[6;62He[6;63H [6;64H [6;65H [6;66H [6;67H [6;68H [6;69H [6;70H [6;71H [6;72H[38;5;39m[48;5;16m(0x(B[0m[7;4H[39m[49m(0x(B[7;5H[38;5;154m[48;5;16m [7;6H [7;7H [7;8H [7;9Hv[7;10Hi[7;11He[7;12Hw[7;13H-[7;14H>[7;15Hl[7;16Hi[7;17Hn[7;18He[7;19H [7;20H([7;21Ha[7;22Hl[7;23Hi[7;24Hg[7;25Hn[7;26H:[7;27H [7;28H:[7;29Hr[7;30Hi[7;31Hg[7;32Hh[7;33Ht[7;34H)[7;35H[39m[49m(0x(B[7;41H[38;5;39m[48;5;16m(0x(B[7;42H[39m[49m [7;43H [7;44H [7;45H [7;46H [7;47H [7;48H [7;49H [7;50H [7;51H [7;52H [7;53H [7;54H [7;55H [7;56H [7;57H [7;58H [7;59H [7;60H [7;61Hv[7;62Hi[7;63He[7;64Hw[7;65H-[7;66H>[7;67Hr[7;68Hi[7;69Hg[7;70Hh[7;71Ht[7;72H[38;5;39m[48;5;16m(0x(B[0m[8;4H[39m[49m(0m(B[8;5H(0q(B[8;6H(0q(B[8;7H(0q(B[8;8H(0q(B[8;9H(0q(B[8;10H(0q(B[8;11H(0q(B[8;12H(0q(B[8;13H(0q(B[8;14H(0q(B[8;15H(0q(B[8;16H(0q(B[8;17H(0q(B[8;18H(0q(B[8;19H(0q(B[8;20H(0q(B[8;21H(0q(B[8;22H(0q(B[8;23H(0q(B[8;24H(0q(B[8;25H(0q(B[8;26H(0q(B[8;27H(0q(B[8;28H(0q(B[8;29H(0q(B[8;30H(0q(B[8;31H(0q(B[8;32H(0q(B[8;33H(0q(B[8;34H(0q(B[8;35H(0j(B[8;41H[38;5;39m[48;5;16m(0m(B[8;42H(0q(B[8;43H(0q(B[8;44H(0q(B[8;45H(0q(B[8;46H(0q(B[8;47H(0q(B[8;48H(0q(B[8;49H(0q(B[8;50H(0q(B[8;51H(0q(B[8;52H(0q(B[8;53H(0q(B[8;54H(0q(B[8;55H(0q(B[8;56H(0q(B[8;57H(0q(B[8;58H(0q(B[8;59H(0q(B[8;60H(0q(B[8;61H(0q(B[8;62H(0q(B[8;63H(0q(B[8;64H(0q(B[8;65H(0q(B[8;66H(0q(B[8;67H(0q(B[8;68H(0q(B[8;69H(0q(B[8;70H(0q(B[8;71H(0q(B[8;72H(0j(B[0m[9;4H[39m[49m`[9;5H:[9;6Ha[9;7Hl[9;8Hi[9;9Hg[9;10Hn[9;11H`[9;12H [9;13Ho[9;14Hp[9;15Ht[9;16Hi[9;17Ho[9;18Hn[9;19H [9;20Ho[9;21Hn[9;22H [9;23Ht[9;24Hh[9;25He[9;26H [9;27H`[9;28Hl[9;29Hi[9;30Hn[9;31He[9;32H`[9;33H [9;34H [9;35H [9;41H [9;42H [9;43H [9;44H [9;45H [9;46H [9;47H [9;48H [9;49H [9;50H [9;51H [9;52H [9;53H [9;54H [9;55H [9;56H [9;57H [9;58H [9;59H [9;60H [9;61H [9;62H [9;63H [9;64H [9;65H [9;66H [9;67H [9;68H [9;69H [9;70H [9;71H [9;72H [0m[10;4H[39m[49mD[10;5HS[10;6HL[10;7H [10;8Hm[10;9He[10;10Ht[10;11Hh[10;12Ho[10;13Hd[10;14H.[10;15H [10;16H([10;17Hn[10;18Ho[10;19H [10;20Hw[10;21Hi[10;22Hd[10;23Ht[10;24Hh[10;25H [10;26Ho[10;27Hr[10;28H [10;29Hn[10;30Ha[10;31Hm[10;32He[10;33H [10;34H [10;35H [10;41H [10;42H [10;43H [10;44H [10;45H [10;46H [10;47H [10;48H [10;49H [10;50H [10;51H [10;52H [10;53H [10;54H [10;55H [10;56H [10;57H [10;58H [10;59H [10;60H [10;61H [10;62H [10;63H [10;64H [10;65H [10;66H [10;67H [10;68H [10;69H [10;70H [10;71H [10;72H [0m[11;4H[39m[49ms[11;5He[11;6Ht[11;7H)[11;8H [11;9H [11;10H [11;11H [11;12H [11;13H [11;14H [11;15H [11;16H [11;17H [11;18H [11;19H [11;20H [11;21H [11;22H [11;23H [11;24H [11;25H [11;26H [11;27H [11;28H [11;29H [11;30H [11;31H [11;32H [11;33H [11;34H [11;35H [11;41H [11;42H [11;43H [11;44H [11;45H [11;46H [11;47H [11;48H [11;49H [11;50H [11;51H [11;52H [11;53H [11;54H [11;55H [11;56H [11;57H [11;58H [11;59H [11;60H [11;61H [11;62H [11;63H [11;64H [11;65H [11;66H [11;67H [11;68H [11;69H [11;70H [11;71H [11;72H [0m[12;4H[39m[49m [12;5H [12;6H [12;7H [12;8H [12;9H [12;10H [12;11H [12;12H [12;13H [12;14H [12;15H [12;16H [12;17H [12;18H [12;19H [12;20H [12;21H [12;22H [12;23H [12;24H [12;25H [12;26H [12;27H [12;28H [12;29H [12;30H [12;31H [12;32H [12;33H [12;34H [12;35H [12;41H [12;42H [12;43H [12;44H [12;45H [12;46H [12;47H [12;48H [12;49H [12;50H [12;51H [12;52H [12;53H [12;54H [12;55H [12;56H [12;57H [12;58H [12;59H [12;60H [12;61H [12;62H [12;63H [12;64H [12;65H [12;66H [12;67H [12;68H [12;69H [12;70H [12;71H [12;72H [0m[13;4H[39m[49m [13;5H [13;6H [13;7H [13;8H [13;9H [13;10H [13;11H [13;12H [13;13H [13;14H [13;15H [13;16H [13;17H [13;18H [13;19H [13;20H [13;21H [13;22H [13;23H [13;24H [13;25H [13;26H [13;27H [13;28H [13;29H [13;30H [13;31H [13;32H [13;33H [13;34H [13;35H [13;41H [13;42H [13;43H [13;44H [13;45H [13;46H [13;47H [13;48H [13;49H [13;50H [13;51H [13;52H [13;53H [13;54H [13;55H [13;56H [13;57H [13;58H [13;59H [13;60H [13;61H [13;62H [13;63H [13;64H [13;65H [13;66H [13;67H [13;68H [13;69H [13;70H [13;71H [13;72H [0m[14;4H[39m[49m(0l(B[14;5H(0q(B[14;6H [14;7HT[14;8He[14;9Hs[14;10Ht[14;11H [14;12H3[14;13H [14;14H(0q(B[14;15H(0q(B[14;16H(0q(B[14;17H(0q(B[14;18H(0q(B[14;19H(0q(B[14;20H(0q(B[14;21H(0q(B[14;22H(0q(B[14;23H(0q(B[14;24H(0q(B[14;25H(0q(B[14;26H(0q(B[14;27H(0q(B[14;28H(0q(B[14;29H(0q(B[14;30H(0q(B[14;31H(0q(B[14;32H(0q(B[14;33H(0q(B[14;34H(0q(B[14;35H(0k(B[14;41H(0l(B[14;42H(0q(B[14;43H [14;44HT[14;45He[14;46Hs[14;47Ht[14;48H [14;49H4[14;50H [14;51H(0q(B[14;52H(0q(B[14;53H(0q(B[14;54H(0q(B[14;55H(0q(B[14;56H(0q(B[14;57H(0q(B[14;58H(0q(B[14;59H(0q(B[14;60H(0q(B[14;61H(0q(B[14;62H(0q(B[14;63H(0q(B[14;64H(0q(B[14;65H(0q(B[14;66H(0q(B[14;67H(0q(B[14;68H(0q(B[14;69H(0q(B[14;70H(0q(B[14;71H(0q(B[14;72H(0k(B[0m[15;4H[39m[49m(0x(B[15;5H[38;5;196m[49mv[15;6Hi[15;7He[15;8Hw[15;9H-[15;10H>[15;11Hl[15;12Hi[15;13Hn[15;14He[15;15Hs[15;16H-[15;17H>[15;18Hl[15;19He[15;20Hf[15;21Ht[15;22H [15;23H1[15;24H [15;25H [15;26H [15;27H [15;28H [15;29H [15;30H [15;31H [15;32H [15;33H [15;34H [15;35H[39m[49m(0x(B[15;41H(0x(B[15;42H[38;5;46m[49m [15;43H [15;44H [15;45H [15;46H [15;47H [15;48H [15;49H [15;50H [15;51H [15;52Hv[15;53Hi[15;54He[15;55Hw[15;56H-[15;57H>[15;58Hl[15;59Hi[15;60Hn[15;61He[15;62Hs[15;63H-[15;64H>[15;65Hr[15;66Hi[15;67Hg[15;68Hh[15;69Ht[15;70H [15;71H1[15;72H[39m[49m(0x(B[0m[16;4H[39m[49m(0x(B[16;5H[38;5;16m[48;5;196mv[16;6Hi[16;7He[16;8Hw[16;9H-[16;10H>[16;11Hl[16;12Hi[16;13Hn[16;14He[16;15Hs[16;16H-[16;17H>[16;18Hl[16;19He[16;20Hf[16;21Ht[16;22H [16;23H2[16;24H [16;25H [16;26H [16;27H [16;28H [16;29H [16;30H [16;31H [16;32H [16;33H [16;34H [16;35H[39m[49m(0x(B[16;41H(0x(B[16;42H[38;5;16m[48;5;46m [16;43H [16;44H [16;45H [16;46H [16;47H [16;48H [16;49H [16;50H [16;51H [16;52Hv[16;53Hi[16;54He[16;55Hw[16;56H-[16;57H>[16;58Hl[16;59Hi[16;60Hn[16;61He[16;62Hs[16;63H-[16;64H>[16;65Hr[16;66Hi[16;67Hg[16;68Hh[16;69Ht[16;70H [16;71H2[16;72H[39m[49m(0x(B[0m[17;4H[39m[49m(0x(B[17;5H [17;6H [17;7H [17;8H [17;9H [17;10H [17;11H [17;12H [17;13H [17;14H [17;15H [17;16H [17;17H [17;18H [17;19H [17;20H [17;21H [17;22H [17;23H [17;24H [17;25H [17;26H [17;27H [17;28H [17;29H [17;30H [17;31H [17;32H [17;33H [17;34H [17;35H(0x(B[17;41H(0x(B[17;42H [17;43H [17;44H [17;45H [17;46H [17;47H [17;48H [17;49H [17;50H [17;51H [17;52H [17;53H [17;54H [17;55H [17;56H [17;57H [17;58H [17;59H [17;60H [17;61H [17;62H [17;63H [17;64H [17;65H [17;66H [17;67H [17;68H [17;69H [17;70H [17;71H [17;72H(0x(B[0m[18;4H[39m[49m(0m(B[18;5H(0q(B[18;6H(0q(B[18;7H(0q(B[18;8H(0q(B[18;9H(0q(B[18;10H(0q(B[18;11H(0q(B[18;12H(0q(B[18;13H(0q(B[18;14H(0q(B[18;15H(0q(B[18;16H(0q(B[18;17H(0q(B[18;18H(0q(B[18;19H(0q(B[18;20H(0q(B[18;21H(0q(B[18;22H(0q(B[18;23H(0q(B[18;24H(0q(B[18;25H(0q(B[18;26H(0q(B[18;27H(0q(B[18;28H(0q(B[18;29H(0q(B[18;30H(0q(B[18;31H(0q(B[18;32H(0q(B[18;33H(0q(B[18;34H(0q(B[18;35H(0j(B[18;41H(0m(B[18;42H(0q(B[18;43H(0q(B[18;44H(0q(B[18;45H(0q(B[18;46H(0q(B[18;47H(0q(B[18;48H(0q(B[18;49H(0q(B[18;50H(0q(B[18;51H(0q(B[18;52H(0q(B[18;53H(0q(B[18;54H(0q(B[18;55H(0q(B[18;56H(0q(B[18;57H(0q(B[18;58H(0q(B[18;59H(0q(B[18;60H(0q(B[18;61H(0q(B[18;62H(0q(B[18;63H(0q(B[18;64H(0q(B[18;65H(0q(B[18;66H(0q(B[18;67H(0q(B[18;68H(0q(B[18;69H(0q(B[18;70H(0q(B[18;71H(0q(B[18;72H(0j(B[0m[19;4H[39m[49m [19;5H [19;6H [19;7H [19;8H [19;9H [19;10H [19;11H [19;12H [19;13H [19;14H [19;15H [19;16H [19;17H [19;18H [19;19H [19;20H [19;21H [19;22H [19;23H [19;24H [19;25H [19;26H [19;27H [19;28H [19;29H [19;30H [19;31H [19;32H [19;33H [19;34H [19;35H [19;41H [19;42H [19;43H [19;44H [19;45H [19;46H [19;47H [19;48H [19;49H [19;50H [19;51H [19;52H [19;53H [19;54H [19;55H [19;56H [19;57H [19;58H [19;59H [19;60H [19;61H [19;62H [19;63H [19;64H [19;65H [19;66H [19;67H [19;68H [19;69H [19;70H [19;71H [19;72H [0m[20;4H[39m[49m [20;5H [20;6H [20;7H [20;8H [20;9H [20;10H [20;11H [20;12H [20;13H [20;14H [20;15H [20;16H [20;17H [20;18H [20;19H [20;20H [20;21H [20;22H [20;23H [20;24H [20;25H [20;26H [20;27H [20;28H [20;29H [20;30H [20;31H [20;32H [20;33H [20;34H [20;35H [20;41H [20;42H [20;43H [20;44H [20;45H [20;46H [20;47H [20;48H [20;49H [20;50H [20;51H [20;52H [20;53H [20;54H [20;55H [20;56H [20;57H [20;58H [20;59H [20;60H [20;61H [20;62H [20;63H [20;64H [20;65H [20;66H [20;67H [20;68H [20;69H [20;70H [20;71H [20;72H [0m[21;4H[39m[49m [21;5H [21;6H [21;7H [21;8H [21;9H [21;10H [21;11H [21;12H [21;13H [21;14H [21;15H [21;16H [21;17H [21;18H [21;19H [21;20H [21;21H [21;22H [21;23H [21;24H [21;25H [21;26H [21;27H [21;28H [21;29H [21;30H [21;31H [21;32H [21;33H [21;34H [21;35H [21;41H [21;42H [21;43H [21;44H [21;45H [21;46H [21;47H [21;48H [21;49H [21;50H [21;51H [21;52H [21;53H [21;54H [21;55H [21;56H [21;57H [21;58H [21;59H [21;60H [21;61H [21;62H [21;63H [21;64H [21;65H [21;66H [21;67H [21;68H [21;69H [21;70H [21;71H [21;72H [0m[22;4H[39m[49m [22;5H [22;6H [22;7H [22;8H [22;9H [22;10H [22;11H [22;12H [22;13H [22;14H [22;15H [22;16H [22;17H [22;18H [22;19H [22;20H [22;21H [22;22H [22;23H [22;24H [22;25H [22;26H [22;27H [22;28H [22;29H [22;30H [22;31H [22;32H [22;33H [22;34H [22;35H [22;41H [22;42H [22;43H [22;44H [22;45H [22;46H [22;47H [22;48H [22;49H [22;50H [22;51H [22;52H [22;53H [22;54H [22;55H [22;56H [22;57H [22;58H [22;59H [22;60H [22;61H [22;62H [22;63H [22;64H [22;65H [22;66H [22;67H [22;68H [22;69H [22;70H [22;71H [22;72H [0m[23;4H[39m[49m [23;5H [23;6H [23;7H [23;8H [23;9H [23;10H [23;11H [23;12H [23;13H [23;14H [23;15H [23;16H [23;17H [23;18H [23;19H [23;20H [23;21H [23;22H [23;23H [23;24H [23;25H [23;26H [23;27H [23;28H [23;29H [23;30H [23;31H [23;32H [23;33H [23;34H [23;35H [23;41H [23;42H [23;43H [23;44H [23;45H [23;46H [23;47H [23;48H [23;49H [23;50H [23;51H [23;52H [23;53H [23;54H [23;55H [23;56H [23;57H [23;58H [23;59H [23;60H [23;61H [23;62H [23;63H [23;64H [23;65H [23;66H [23;67H [23;68H [23;69H [23;70H [23;71H [23;72H [0m[24;4H[39m[49m(0l(B[24;5H(0q(B[24;6H [24;7HT[24;8He[24;9Hs[24;10Ht[24;11H [24;12H5[24;13H [24;14H(0q(B[24;15H(0q(B[24;16H(0q(B[24;17H(0q(B[24;18H(0q(B[24;19H(0q(B[24;20H(0q(B[24;21H(0q(B[24;22H(0q(B[24;23H(0q(B[24;24H(0q(B[24;25H(0q(B[24;26H(0q(B[24;27H(0q(B[24;28H(0q(B[24;29H(0q(B[24;30H(0q(B[24;31H(0q(B[24;32H(0q(B[24;33H(0q(B[24;34H(0q(B[24;35H(0k(B[24;41H(0l(B[24;42H(0q(B[24;43H [24;44HT[24;45He[24;46Hs[24;47Ht[24;48H [24;49H6[24;50H [24;51H(0q(B[24;52H(0q(B[24;53H(0q(B[24;54H(0q(B[24;55H(0q(B[24;56H(0q(B[24;57H(0q(B[24;58H(0q(B[24;59H(0q(B[24;60H(0q(B[24;61H(0q(B[24;62H(0q(B[24;63H(0q(B[24;64H(0q(B[24;65H(0q(B[24;66H(0q(B[24;67H(0q(B[24;68H(0q(B[24;69H(0q(B[24;70H(0q(B[24;71H(0q(B[24;72H(0k(B[0m[25;4H[39m[49m(0x(B[25;5H[38;5;27m[49m [25;6H [25;7H [25;8H [25;9Hv[25;10Hi[25;11He[25;12Hw[25;13H-[25;14H>[25;15Hl[25;16Hi[25;17Hn[25;18He[25;19Hs[25;20H-[25;21H>[25;22Hc[25;23He[25;24Hn[25;25Ht[25;26Hr[25;27He[25;28H [25;29H1[25;30H [25;31H [25;32H [25;33H [25;34H [25;35H[39m[49m(0x(B[25;41H(0x(B[25;42H[38;5;231m[48;5;124mv[25;43H-[25;44H>[25;45Hl[25;46H-[25;47H>[25;48Hl[25;49He[25;50Hf[25;51Ht[25;52H [25;53H [25;54H [25;55H [25;56H [25;57H[38;5;231m[48;5;21m [25;58H [25;59H [25;60H [25;61Hv[25;62H-[25;63H>[25;64Hl[25;65H-[25;66H>[25;67Hr[25;68Hi[25;69Hg[25;70Hh[25;71Ht[25;72H[39m[49m(0x(B[0m[26;4H[39m[49m(0x(B[26;5H[38;5;16m[48;5;27m [26;6H [26;7H [26;8H [26;9Hv[26;10Hi[26;11He[26;12Hw[26;13H-[26;14H>[26;15Hl[26;16Hi[26;17Hn[26;18He[26;19Hs[26;20H-[26;21H>[26;22Hc[26;23He[26;24Hn[26;25Ht[26;26Hr[26;27He[26;28H [26;29H2[26;30H [26;31H [26;32H [26;33H [26;34H [26;35H[39m[49m(0x(B[26;41H(0x(B[26;42H[38;5;231m[48;5;28m [26;43H [26;44H [26;45H [26;46H [26;47H [26;48H [26;49H [26;50H [26;51Hv[26;52H-[26;53H>[26;54Hl[26;55H-[26;56H>[26;57Hc[26;58He[26;59Hn[26;60Ht[26;61Hr[26;62He[26;63H [26;64H [26;65H [26;66H [26;67H [26;68H [26;69H [26;70H [26;71H [26;72H[39m[49m(0x(B[0m[27;4H[39m[49m(0x(B[27;5H [27;6H [27;7H [27;8H [27;9H [27;10H [27;11H [27;12H [27;13H [27;14H [27;15H [27;16H [27;17H [27;18H [27;19H [27;20H [27;21H [27;22H [27;23H [27;24H [27;25H [27;26H [27;27H [27;28H [27;29H [27;30H [27;31H [27;32H [27;33H [27;34H [27;35H(0x(B[27;41H(0x(B[27;42H [27;43H [27;44H [27;45H [27;46H [27;47H [27;48H [27;49H [27;50H [27;51H [27;52H [27;53H [27;54H [27;55H [27;56H [27;57H [27;58H [27;59H [27;60H [27;61H [27;62H [27;63H [27;64H [27;65H [27;66H [27;67H [27;68H [27;69H [27;70H [27;71H [27;72H(0x(B[0m
|
data/examples/views/line.rb
DELETED
@@ -1,128 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
# frozen_string_literal: true
|
4
|
-
|
5
|
-
require 'bundler/setup'
|
6
|
-
require 'vedeu'
|
7
|
-
|
8
|
-
class DSLApp
|
9
|
-
|
10
|
-
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
11
|
-
|
12
|
-
Vedeu.configure do
|
13
|
-
debug!
|
14
|
-
log '/tmp/vedeu_views_dsl.log'
|
15
|
-
renderers(Vedeu::Renderers::Terminal.new(
|
16
|
-
filename: '/tmp/vedeu_line.out',
|
17
|
-
write_file: true),
|
18
|
-
Vedeu::Renderers::JSON.new(
|
19
|
-
filename: '/tmp/vedeu_line.json'),
|
20
|
-
Vedeu::Renderers::HTML.new(
|
21
|
-
filename: '/tmp/vedeu_line.html'),
|
22
|
-
Vedeu::Renderers::Text.new(
|
23
|
-
filename: '/tmp/vedeu_line.txt')
|
24
|
-
)
|
25
|
-
run_once!
|
26
|
-
standalone!
|
27
|
-
end
|
28
|
-
|
29
|
-
load './_interfaces.rb'
|
30
|
-
|
31
|
-
Vedeu.render do
|
32
|
-
view(:test1_interface) do
|
33
|
-
background '#440000'
|
34
|
-
line 'view->line', { foreground: '#ff0000' }
|
35
|
-
end
|
36
|
-
|
37
|
-
view(:help1_interface) do
|
38
|
-
line 'A single line within a view.'
|
39
|
-
end
|
40
|
-
|
41
|
-
view(:test2_interface) do
|
42
|
-
line 'view->line 1', { foreground: '#ff7f00' }
|
43
|
-
line 'view->line 2', { foreground: '#ffff00' }
|
44
|
-
end
|
45
|
-
|
46
|
-
view(:help2_interface) do
|
47
|
-
line 'Multiple lines within a view.'
|
48
|
-
line '(No block)'
|
49
|
-
end
|
50
|
-
|
51
|
-
view(:test3_interface) do
|
52
|
-
text 'view->text 1', { foreground: '#00ff00' }
|
53
|
-
text 'view->text 2', { foreground: '#007fff' }
|
54
|
-
end
|
55
|
-
|
56
|
-
view(:help3_interface) do
|
57
|
-
text 'Multiple `text` keywords within'
|
58
|
-
text 'a view are treated as separate'
|
59
|
-
text 'lines.'
|
60
|
-
end
|
61
|
-
|
62
|
-
view(:test4_interface) do
|
63
|
-
line do
|
64
|
-
text 'view->line 1->text', { foreground: '#5500cc' }
|
65
|
-
end
|
66
|
-
line do
|
67
|
-
text 'view->line 2->text 1', { foreground: '#ff00ff' }
|
68
|
-
text 'view->line 2->text 2', { foreground: '#ffffff' }
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
view(:help4_interface) do
|
73
|
-
line do
|
74
|
-
foreground '#ff0000'
|
75
|
-
text 'Line `block` syntax.'
|
76
|
-
end
|
77
|
-
line do
|
78
|
-
background '#ffff00'
|
79
|
-
foreground '#000000'
|
80
|
-
text 'A single '
|
81
|
-
text '`text` ', { background: '#000000', foreground: '#ffff00' }
|
82
|
-
text 'is just a'
|
83
|
-
end
|
84
|
-
line do
|
85
|
-
colour background: '#ff0000'
|
86
|
-
text 'stream within a line, whilst'
|
87
|
-
end
|
88
|
-
line do
|
89
|
-
colour foreground: '#006600'
|
90
|
-
text 'multiple '
|
91
|
-
text '`text`', { foreground: '#ff0000' }
|
92
|
-
text 's are treated'
|
93
|
-
end
|
94
|
-
line do
|
95
|
-
colour background: '#000066', foreground: '#ff9999'
|
96
|
-
text 'as separate streams.'
|
97
|
-
end
|
98
|
-
line do
|
99
|
-
foreground '#ff0000'
|
100
|
-
text 'Line `block` syntax.', { background: '#00ff00' }
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
view(:test5_interface) do
|
105
|
-
lines do
|
106
|
-
background '#000066'
|
107
|
-
line 'view->lines->line 1', { foreground: '#00ff00' }
|
108
|
-
line 'view->lines->line 2', { background: '#000000', foreground: '#007fff' }
|
109
|
-
line 'view->lines->line 3', { foreground: '#55aa00' }
|
110
|
-
end
|
111
|
-
end
|
112
|
-
|
113
|
-
view(:help5_interface) do
|
114
|
-
lines do
|
115
|
-
line 'Multiple `line` keywords within'
|
116
|
-
line 'a `lines` block view are'
|
117
|
-
line 'treated as separate lines.'
|
118
|
-
end
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
def self.start(argv = ARGV)
|
123
|
-
Vedeu::Launcher.execute!(argv)
|
124
|
-
end
|
125
|
-
|
126
|
-
end # DSLApp
|
127
|
-
|
128
|
-
DSLApp.start
|
data/examples/views/lines.rb
DELETED
@@ -1,165 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
# frozen_string_literal: true
|
4
|
-
|
5
|
-
require 'bundler/setup'
|
6
|
-
require 'vedeu'
|
7
|
-
|
8
|
-
class DSLApp
|
9
|
-
|
10
|
-
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
11
|
-
|
12
|
-
Vedeu.configure do
|
13
|
-
debug!
|
14
|
-
log '/tmp/vedeu_views_dsl.log'
|
15
|
-
renderers(Vedeu::Renderers::Terminal.new(
|
16
|
-
filename: '/tmp/vedeu_lines.out',
|
17
|
-
write_file: true),
|
18
|
-
Vedeu::Renderers::JSON.new(
|
19
|
-
filename: '/tmp/vedeu_lines.json'),
|
20
|
-
Vedeu::Renderers::HTML.new(
|
21
|
-
filename: '/tmp/vedeu_lines.html'))
|
22
|
-
run_once!
|
23
|
-
standalone!
|
24
|
-
end
|
25
|
-
|
26
|
-
load './_interfaces.rb'
|
27
|
-
|
28
|
-
Vedeu.render do
|
29
|
-
view(:test1_interface) do
|
30
|
-
stream 'view->stream', { foreground: '#ff0000' }
|
31
|
-
end
|
32
|
-
|
33
|
-
view(:help1_interface) do
|
34
|
-
stream 'A single stream within a view.'
|
35
|
-
end
|
36
|
-
|
37
|
-
view(:test2_interface) do
|
38
|
-
stream 'view->stream 1', { foreground: '#ff7f00' }
|
39
|
-
stream 'view->stream 2', { foreground: '#ffff00' }
|
40
|
-
end
|
41
|
-
|
42
|
-
view(:help2_interface) do
|
43
|
-
stream 'Multiple streams within a view.'
|
44
|
-
stream '(No line/lines block)'
|
45
|
-
end
|
46
|
-
|
47
|
-
view(:test3_interface) do
|
48
|
-
line do
|
49
|
-
stream 'view->line 1->stream', { foreground: '#00ff00' }
|
50
|
-
end
|
51
|
-
line do
|
52
|
-
stream 'view->line 2->stream 1', { foreground: '#007fff' }
|
53
|
-
stream 'view->line 2->stream 2', { foreground: '#ff00ff' }
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
view(:help3_interface) do
|
58
|
-
line do
|
59
|
-
stream 'Multiple `stream` keywords'
|
60
|
-
end
|
61
|
-
line do
|
62
|
-
stream 'within a line '
|
63
|
-
stream '(block) are'
|
64
|
-
end
|
65
|
-
line do
|
66
|
-
stream 'treated as separate streams.'
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
view(:test4_interface) do
|
71
|
-
lines do
|
72
|
-
line do
|
73
|
-
stream 'view->lines->line->stream', { foreground: '#5500cc' }
|
74
|
-
end
|
75
|
-
line do
|
76
|
-
stream 'view->stream 2->text 1', { foreground: '#ff00ff' }
|
77
|
-
stream 'view->stream 2->text 2', { foreground: '#ffffff' }
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
view(:help4_interface) do
|
83
|
-
lines do
|
84
|
-
line do
|
85
|
-
stream 'A single stream within a line', { foreground: '#5500cc' }
|
86
|
-
end
|
87
|
-
line do
|
88
|
-
stream 'block, ', { foreground: '#5500cc' }
|
89
|
-
stream 'is treated as a single', { foreground: '#5500cc' }
|
90
|
-
end
|
91
|
-
line do
|
92
|
-
stream 'line. ', { foreground: '#5500cc' }
|
93
|
-
stream 'Multiple ', { foreground: '#ff00ff' }
|
94
|
-
stream '`stream` ', { foreground: '#ffffff' }
|
95
|
-
stream 'entries', { foreground: '#ff00ff' }
|
96
|
-
end
|
97
|
-
line do
|
98
|
-
stream 'are treated as ', { foreground: '#ff00ff' }
|
99
|
-
stream 'separate streams', { foreground: '#ffffff' }
|
100
|
-
end
|
101
|
-
line do
|
102
|
-
stream 'in the line.', { foreground: '#ff00ff' }
|
103
|
-
end
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
view(:test5_interface) do
|
108
|
-
stream do
|
109
|
-
text 'view->stream->text 1', { foreground: '#00ff00' }
|
110
|
-
text 'view->stream->text 2', { foreground: '#007fff' }
|
111
|
-
end
|
112
|
-
end
|
113
|
-
|
114
|
-
view(:help5_interface) do
|
115
|
-
stream do
|
116
|
-
text 'Multiple ', { foreground: '#00ff00' }
|
117
|
-
text '`text` ', { foreground: '#007fff' }
|
118
|
-
text 'keywords within', { foreground: '#00ff00' }
|
119
|
-
end
|
120
|
-
stream do
|
121
|
-
text 'a ', { foreground: '#00ff00' }
|
122
|
-
text '`stream` ', { foreground: '#007fff' }
|
123
|
-
text 'block view are', { foreground: '#00ff00' }
|
124
|
-
end
|
125
|
-
stream do
|
126
|
-
text 'treated as ', { foreground: '#00ff00' }
|
127
|
-
text 'separate streams.', { foreground: '#007fff' }
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
view(:test6_interface) do
|
132
|
-
line do
|
133
|
-
streams do
|
134
|
-
stream 'v->l->ss->stream 1', { foreground: '#00ff00' }
|
135
|
-
stream 'v->l->ss->stream 2', { foreground: '#007fff' }
|
136
|
-
end
|
137
|
-
end
|
138
|
-
end
|
139
|
-
|
140
|
-
view(:help6_interface) do
|
141
|
-
line do
|
142
|
-
streams do
|
143
|
-
stream 'Multiple ', { foreground: '#00ff00' }
|
144
|
-
stream '`stream` ', { foreground: '#007fff' }
|
145
|
-
stream 'within a ', { foreground: '#00ff00' }
|
146
|
-
end
|
147
|
-
end
|
148
|
-
line do
|
149
|
-
streams do
|
150
|
-
stream '`streams` ', { foreground: '#007fff' }
|
151
|
-
stream 'within a ', { foreground: '#00ff00' }
|
152
|
-
stream '`line`', { foreground: '#007fff' }
|
153
|
-
stream '.', { foreground: '#00ff00' }
|
154
|
-
end
|
155
|
-
end
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
def self.start(argv = ARGV)
|
160
|
-
Vedeu::Launcher.execute!(argv)
|
161
|
-
end
|
162
|
-
|
163
|
-
end # DSLApp
|
164
|
-
|
165
|
-
DSLApp.start
|
@@ -1,126 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
# frozen_string_literal: true
|
4
|
-
|
5
|
-
require 'bundler/setup'
|
6
|
-
require 'vedeu'
|
7
|
-
|
8
|
-
class DSLApp
|
9
|
-
|
10
|
-
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
11
|
-
|
12
|
-
Vedeu.configure do
|
13
|
-
debug!
|
14
|
-
log '/tmp/vedeu_views_dsl.log'
|
15
|
-
renderers(Vedeu::Renderers::Terminal.new(
|
16
|
-
filename: '/tmp/vedeu_lines_alignment.out',
|
17
|
-
write_file: true),
|
18
|
-
Vedeu::Renderers::JSON.new(
|
19
|
-
filename: '/tmp/vedeu_lines_alignment.json'),
|
20
|
-
Vedeu::Renderers::HTML.new(
|
21
|
-
filename: '/tmp/vedeu_lines_alignment.html'),
|
22
|
-
Vedeu::Renderers::Text.new(
|
23
|
-
filename: '/tmp/vedeu_lines_alignment.txt')
|
24
|
-
)
|
25
|
-
run_once!
|
26
|
-
standalone!
|
27
|
-
end
|
28
|
-
|
29
|
-
load './_interfaces.rb'
|
30
|
-
|
31
|
-
Vedeu.border :test2_interface do
|
32
|
-
background '#220022'
|
33
|
-
foreground '#00aaff'
|
34
|
-
title 'Test 2'
|
35
|
-
end
|
36
|
-
|
37
|
-
Vedeu.render do
|
38
|
-
view(:test1_interface) do
|
39
|
-
background '#002200'
|
40
|
-
foreground '#aaff00'
|
41
|
-
line 'view->line (align: :left)', { align: :left }
|
42
|
-
line 'view->line (align: :center)', { align: :center }
|
43
|
-
line 'view->line (align: :centre)', { align: :centre }
|
44
|
-
line 'view->line (align: :right)', { align: :right }
|
45
|
-
end
|
46
|
-
|
47
|
-
view(:help1_interface) do
|
48
|
-
line '`:align` option on the `line`'
|
49
|
-
line 'DSL method. (no width or name'
|
50
|
-
line 'set)'
|
51
|
-
end
|
52
|
-
|
53
|
-
view(:test2_interface) do
|
54
|
-
left 'view->left'
|
55
|
-
center 'view->center'
|
56
|
-
centre 'view->centre'
|
57
|
-
right 'view->right'
|
58
|
-
end
|
59
|
-
|
60
|
-
view(:help2_interface) do
|
61
|
-
lines do
|
62
|
-
''
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
view(:test3_interface) do
|
67
|
-
lines do
|
68
|
-
left 'view->lines->left 1', { foreground: '#ff0000' }
|
69
|
-
left 'view->lines->left 2', { background: '#ff0000', foreground: '#000000' }
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
view(:help3_interface) do
|
74
|
-
lines do
|
75
|
-
''
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
view(:test4_interface) do
|
80
|
-
lines do
|
81
|
-
right 'view->lines->right 1', { foreground: '#00ff00' }
|
82
|
-
right 'view->lines->right 2', { background: '#00ff00', foreground: '#000000' }
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
view(:help4_interface) do
|
87
|
-
lines do
|
88
|
-
''
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
view(:test5_interface) do
|
93
|
-
lines do
|
94
|
-
centre 'view->lines->centre 1', { foreground: '#0044ff' }
|
95
|
-
centre 'view->lines->centre 2', { background: '#0044ff', foreground: '#000000' }
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
|
-
view(:help5_interface) do
|
100
|
-
lines do
|
101
|
-
''
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
view(:test6_interface) do
|
106
|
-
foreground '#ffffff'
|
107
|
-
line do
|
108
|
-
left 'v->l->left', { background: '#aa2200', width: 15 }
|
109
|
-
right 'v->l->right', { background: '#0022ff', width: 15 }
|
110
|
-
end
|
111
|
-
line do
|
112
|
-
centre 'v->l->centre', { background: '#007700', width: 30 }
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
|
-
view(:help6_interface) do
|
117
|
-
end
|
118
|
-
end
|
119
|
-
|
120
|
-
def self.start(argv = ARGV)
|
121
|
-
Vedeu::Launcher.execute!(argv)
|
122
|
-
end
|
123
|
-
|
124
|
-
end # DSLApp
|
125
|
-
|
126
|
-
DSLApp.start
|
data/examples/views/runner.sh
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
set -e
|
4
|
-
|
5
|
-
function expected {
|
6
|
-
printf "\e[32mExpected:\e[39m "
|
7
|
-
}
|
8
|
-
function actual {
|
9
|
-
printf "\e[31mActual:\e[39m "
|
10
|
-
}
|
11
|
-
|
12
|
-
./line.rb
|
13
|
-
./lines.rb
|
14
|
-
./lines_alignment.rb
|
15
|
-
./full_screen.rb
|
16
|
-
|
17
|
-
echo -ne "\e[34mline out\e[39m\n"
|
18
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_line.out | cut -f1)\n"
|
19
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_line.out | cut -f1)\n"
|
20
|
-
echo -ne "\e[33mhtml\e[39m\n"
|
21
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_line.html | cut -f1)\n"
|
22
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_line.html | cut -f1)\n"
|
23
|
-
echo -ne "\e[33mjson\e[39m\n"
|
24
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_line.json | cut -f1)\n"
|
25
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_line.json | cut -f1)\n"
|
26
|
-
echo -ne "\e[33mtxt\e[39m\n"
|
27
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_line.txt | cut -f1)\n"
|
28
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_line.txt | cut -f1)\n"
|
29
|
-
|
30
|
-
echo -ne "\n"
|
31
|
-
|
32
|
-
echo -ne "\e[34mlines out\e[39m\n"
|
33
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_lines.out | cut -f1)\n"
|
34
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_lines.out | cut -f1)\n"
|
35
|
-
echo -ne "\e[33mhtml\e[39m\n"
|
36
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_lines.html | cut -f1)\n"
|
37
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_lines.html | cut -f1)\n"
|
38
|
-
echo -ne "\e[33mjson\e[39m\n"
|
39
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_lines.json | cut -f1)\n"
|
40
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_lines.json | cut -f1)\n"
|
41
|
-
echo -ne "\e[33mtxt\e[39m\n"
|
42
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_lines.txt | cut -f1)\n"
|
43
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_lines.txt | cut -f1)\n"
|
44
|
-
|
45
|
-
echo -ne "\n"
|
46
|
-
|
47
|
-
echo -ne "\e[34mlines alignment out\e[39m\n"
|
48
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_lines_alignment.out | cut -f1)\n"
|
49
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_lines_alignment.out | cut -f1)\n"
|
50
|
-
echo -ne "\e[33mhtml\e[39m\n"
|
51
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_lines_alignment.html | cut -f1)\n"
|
52
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_lines_alignment.html | cut -f1)\n"
|
53
|
-
echo -ne "\e[33mjson\e[39m\n"
|
54
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_lines_alignment.json | cut -f1)\n"
|
55
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_lines_alignment.json | cut -f1)\n"
|
56
|
-
echo -ne "\e[33mtxt\e[39m\n"
|
57
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_lines_alignment.txt | cut -f1)\n"
|
58
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_lines_alignment.txt | cut -f1)\n"
|
59
|
-
|
60
|
-
echo -ne "\n"
|
61
|
-
|
62
|
-
echo -ne "\e[34mfull screen out\e[39m\n"
|
63
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_full_screen.out | cut -f1)\n"
|
64
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_full_screen.out | cut -f1)\n"
|
65
|
-
echo -ne "\e[33mhtml\e[39m\n"
|
66
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_full_screen.html | cut -f1)\n"
|
67
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_full_screen.html | cut -f1)\n"
|
68
|
-
echo -ne "\e[33mjson\e[39m\n"
|
69
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_full_screen.json | cut -f1)\n"
|
70
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_full_screen.json | cut -f1)\n"
|
71
|
-
echo -ne "\e[33mtxt\e[39m\n"
|
72
|
-
echo -ne "$(expected) $(du -b ./expected/vedeu_full_screen.txt | cut -f1)\n"
|
73
|
-
echo -ne "$(actual) $(du -b /tmp/vedeu_full_screen.txt | cut -f1)\n"
|