Skip to content

Commit

Permalink
Update casts
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Mar 12, 2024
1 parent 8038d2f commit 69161d9
Show file tree
Hide file tree
Showing 15 changed files with 423 additions and 420 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
[0, "o", " \r\n"]
[0, "o", "\u2500\u2500 \u001B[38;5;12mColors\u001B[0m \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n"]
[0, "o", " \r\n"]
[0, "o", "\u001B[38;5;0;48;5;14m Aqua \u001B[0m "]
[0, "o", "\u001B[38;5;14mAqua\u001B[0m\r\n"]
[0.016, "o", "\u001B[38;5;0;48;5;122m Aquamarine1_1 \u001B[0m "]
[0.016, "o", "\u001B[38;5;122mAquamarine1_1\u001B[0m\r\n"]
[0.016, "o", "\u001B[38;5;0;48;5;86m Aquamarine1 \u001B[0m "]
[0.016, "o", "\u001B[38;5;86mAquamarine1\u001B[0m\r\n"]
[0.016, "o", "\u001B[38;5;0;48;5;79m Aquamarine3 \u001B[0m "]
[0.016, "o", "\u001B[38;5;79mAquamarine3\u001B[0m\r\n"]
[0.016, "o", " \r\n"]
[0.016, "o", "\u2500\u2500 \u001B[38;5;12mHelp\u001B[0m \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n"]
[0.016, "o", " \r\n"]
[0.016, "o", "The colors can be passed as the \u0022-Color\u0022 parameter for most commands or used in Spectre Console markup like \r\nso:\r\n\r\n"]
[0.016, "o", " PS\u003E \u001B[38;5;11mWrite-SpectreHost\u001B[0m \u001B[38;5;39m\u0022I am [Red]colored text[/] using [Yellow1 on Turquoise4]Spectre markdown[/]!\u0022\u001B[0m\r\n"]
[0.016, "o", " \u001B[38;5;15;48;5;236mI am \u001B[0m\u001B[38;5;9;48;5;236mcolored text\u001B[0m\u001B[38;5;15;48;5;236m using \u001B[0m\u001B[38;5;226;48;5;30mSpectre markdown\u001B[0m\u001B[38;5;15;48;5;236m! \u001B[0m\r\n"]
[0.016, "o", "\r\nFor more markdown hints see \u001B]8;id=1696145969;https://spectreconsole.net/markup\u001B\\https://spectreconsole.net/markup\u001B]8;;\u001B\\\r\n\r\n"]
[0.015, "o", "\u001B[38;5;0;48;5;14m Aqua \u001B[0m "]
[0.015, "o", "\u001B[38;5;14mAqua\u001B[0m\r\n"]
[0.015, "o", "\u001B[38;5;0;48;5;122m Aquamarine1_1 \u001B[0m "]
[0.015, "o", "\u001B[38;5;122mAquamarine1_1\u001B[0m\r\n"]
[0.015, "o", "\u001B[38;5;0;48;5;86m Aquamarine1 \u001B[0m "]
[0.015, "o", "\u001B[38;5;86mAquamarine1\u001B[0m\r\n"]
[0.015, "o", "\u001B[38;5;0;48;5;79m Aquamarine3 \u001B[0m "]
[0.015, "o", "\u001B[38;5;79mAquamarine3\u001B[0m\r\n"]
[0.015, "o", " \r\n"]
[0.015, "o", "\u2500\u2500 \u001B[38;5;12mHelp\u001B[0m \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n"]
[0.015, "o", " \r\n"]
[0.015, "o", "The colors can be passed as the \u0022-Color\u0022 parameter for most commands or used in Spectre Console markup like \r\nso:\r\n\r\n"]
[0.015, "o", " PS\u003E \u001B[38;5;11mWrite-SpectreHost\u001B[0m \u001B[38;5;39m\u0022I am [Red]colored text[/] using [Yellow1 on Turquoise4]Spectre markdown[/]!\u0022\u001B[0m\r\n"]
[0.015, "o", " \u001B[38;5;15;48;5;236mI am \u001B[0m\u001B[38;5;9;48;5;236mcolored text\u001B[0m\u001B[38;5;15;48;5;236m using \u001B[0m\u001B[38;5;226;48;5;30mSpectre markdown\u001B[0m\u001B[38;5;15;48;5;236m! \u001B[0m\r\n"]
[0.015, "o", "\r\nFor more markdown hints see \u001B]8;id=2131511829;https://spectreconsole.net/markup\u001B\\https://spectreconsole.net/markup\u001B]8;;\u001B\\\r\n\r\n"]


Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
[0.016, "o", "\u001B[38;5;39mgrinning_face: Spectre markdown emoji string :\u001B[0m"]
[0.016, "o", "\u001B[38;5;39mvictory_hand: !\u0022\u001B[0m\r\n"]
[0.016, "o", " \u001B[38;5;15;48;5;236mI am a \uD83D\uDE00 Spectre markdown emoji string \u270C ! \u001B[0m\r\n"]
[0.016, "o", "\r\nEmoji support is dependent on OS, terminal \u0026 font support. For more markdown hints see \r\n\u001B]8;id=1591105253;https://spectreconsole.net/markup\u001B\\https://spectreconsole.net/markup\u001B]8;;\u001B\\ and for more emoji help see \u001B]8;id=881273126;https://spectreconsole.net/appendix/emojis\u001B\\https://spectreconsole.net/appendix/emojis\u001B]8;;\u001B\\\r\n\r\n"]
[0.016, "o", "\r\nEmoji support is dependent on OS, terminal \u0026 font support. For more markdown hints see \r\n\u001B]8;id=2104753594;https://spectreconsole.net/markup\u001B\\https://spectreconsole.net/markup\u001B]8;;\u001B\\ and for more emoji help see \u001B]8;id=504726789;https://spectreconsole.net/appendix/emojis\u001B\\https://spectreconsole.net/appendix/emojis\u001B]8;;\u001B\\\r\n\r\n"]


Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{"version": 2, "width": 110, "height": 4, "title": "Example 0", "env": {"TERM": "Spectre.Console"}}
[0, "o", "\u001B[38;5;12m\u256D\u2500Unescaped data\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256E\u001B[0m\r\n\u001B[38;5;12m\u2502\u001B[0m I want escaped ][[][]]][[][][][ \u001B[38;5;11mand\u001B[0m \u001B[38;5;9munescaped\u001B[0m data \u001B[38;5;12m\u2502\u001B[0m\r\n\u001B[38;5;12m\u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256F\u001B[0m\r\n"]
[0, "o", "\u001B[38;5;12m\u256D\u2500Unescaped data\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256E\u001B[0m\r\n\u001B[38;5;12m\u2502\u001B[0m I want escaped ][[][red]]][[/][][][ \u001B[38;5;11mand\u001B[0m \u001B[38;5;9munescaped\u001B[0m data \u001B[38;5;12m\u2502\u001B[0m\r\n\u001B[38;5;12m\u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256F\u001B[0m\r\n"]


Large diffs are not rendered by default.

Loading

0 comments on commit 69161d9

Please sign in to comment.