about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-08-29 00:01:08 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-08-29 00:01:08 -0700
commit8e182e394e492b9ff157dc88837dee894893c1ee (patch)
tree654d31f3ff130f9d23ecf12d36500612f6402f77 /apps
parentbc859a7ca4713b290fa9d7dea187fde55568ab29 (diff)
downloadmu-8e182e394e492b9ff157dc88837dee894893c1ee.tar.gz
width-aware drawing primitives
No support yet for drawing wide graphemes.
Diffstat (limited to 'apps')
-rw-r--r--apps/ex4.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ex4.mu b/apps/ex4.mu
index 9c3e28ee..f6c0bf8a 100644
--- a/apps/ex4.mu
+++ b/apps/ex4.mu
@@ -10,5 +10,5 @@
 # Expected output: letter 'A' in green near the top-left corner of screen
 
 fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) {
-  draw-code-point screen, 0x41/A, 2/row, 1/col, 0xa/fg, 0/bg
+  var dummy/eax: int <- draw-code-point screen, 0x41/A, 2/row, 1/col, 0xa/fg, 0/bg
 }