about summary refs log tree commit diff stats
path: root/403code-point.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-08-02 21:25:28 -0700
committerKartik Agaram <vc@akkartik.com>2020-08-02 21:25:28 -0700
commit672ea33132c3e1870fa50661ded468b1da4f1794 (patch)
tree7d479b6cc68261c0dd8cb809cd3a61dc38ad9bda /403code-point.mu
parent75bdc0ad5b36307d5be4f5508c62ff382ac26c7e (diff)
downloadmu-672ea33132c3e1870fa50661ded468b1da4f1794.tar.gz
6714
Diffstat (limited to '403code-point.mu')
-rw-r--r--403code-point.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/403code-point.mu b/403code-point.mu
index da3115bc..cc99a57c 100644
--- a/403code-point.mu
+++ b/403code-point.mu
@@ -14,6 +14,9 @@
 
 # transliterated from tb_utf8_unicode_to_char in https://github.com/nsf/termbox
 # https://wiki.tcl-lang.org/page/UTF%2D8+bit+by+bit explains the algorithm
+#
+# The day we want to support combining characters, this function will need to
+# take multiple code points. Or something.
 fn to-grapheme in: code-point -> out/eax: grapheme {
 $to-grapheme:body: {
   var c/eax: int <- copy in