about summary refs log tree commit diff stats
path: root/500fake-screen.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-09 08:12:11 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-09 08:12:11 -0800
commitd253a3182859c7c989449122a60d5f362f19ded0 (patch)
tree7459cddc57f93107fa4cee89d4f0a94dd0f0f131 /500fake-screen.mu
parentd1808995b2c6b99749237a29e6ac6477d00ff8f9 (diff)
downloadmu-d253a3182859c7c989449122a60d5f362f19ded0.tar.gz
rename grapheme to code-point-utf8
Longer name, but it doesn't lie. We have no data structure right now for
combining multiple code points. And it makes no sense for the notion of
a grapheme to conflate its Unicode encoding.
Diffstat (limited to '500fake-screen.mu')
-rw-r--r--500fake-screen.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/500fake-screen.mu b/500fake-screen.mu
index c34beeaa..f86ce47c 100644
--- a/500fake-screen.mu
+++ b/500fake-screen.mu
@@ -71,7 +71,7 @@ fn initialize-screen _screen: (addr screen), width: int, height: int, pixel-grap
   copy-to *dest, 0
 }
 
-# in graphemes
+# in code-point-utf8s
 fn screen-size _screen: (addr screen) -> _/eax: int, _/ecx: int {
   var screen/esi: (addr screen) <- copy _screen
   var width/eax: int <- copy 0
@@ -459,7 +459,7 @@ fn clear-rect _screen: (addr screen), xmin: int, ymin: int, xmax: int, ymax: int
   set-cursor-position screen, 0, 0
 }
 
-# there's no grapheme that guarantees to cover every pixel, so we'll bump down
+# there's no code-point-utf8 that guarantees to cover every pixel, so we'll bump down
 # to pixels for a real screen
 fn clear-real-screen {
   var y/eax: int <- copy 0