diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-08-02 21:25:28 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-08-02 21:25:28 -0700 |
commit | 672ea33132c3e1870fa50661ded468b1da4f1794 (patch) | |
tree | 7d479b6cc68261c0dd8cb809cd3a61dc38ad9bda | |
parent | 75bdc0ad5b36307d5be4f5508c62ff382ac26c7e (diff) | |
download | mu-672ea33132c3e1870fa50661ded468b1da4f1794.tar.gz |
6714
-rw-r--r-- | 403code-point.mu | 3 |
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 |