aboutsummaryrefslogtreecommitdiff
path: root/test/text.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-12 01:43:00 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-12 01:43:00 -0400
commit05724a659f914cee31dc8bc7c96a98115fd6325e (patch)
tree4d079078d02e5c90fa1a84c1421472f48cda6fa6 /test/text.tm
parentbd111dbe2ea1718dd541f347ce9c0b08068cc544 (diff)
Change unicode escape to \{name} and add escape for ANSI CSI sequences:
\[...]
Diffstat (limited to 'test/text.tm')
-rw-r--r--test/text.tm5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/text.tm b/test/text.tm
index 216e5aaf..44e42d35 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -16,9 +16,12 @@ func main():
>> \U65\U301
= "é"
- >> \U[Penguin]:codepoint_names()
+ >> \{Penguin}:codepoint_names()
= ["PENGUIN"]
+ >> \[31;1]
+ = "\e[31;1m"
+
>> \UE9 == \U65\U301
= yes