about summary refs log tree commit diff stats
path: root/071print.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-08-10 13:25:32 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-08-10 13:26:43 -0700
commitcd0d9e30fd6811e4316000d27cc60d49d819d97d (patch)
treeda4fb62aa61f8984dfc7006b1555641b8af78e91 /071print.mu
parent49600cbc6a44b2f27635a594d37dd3dfe504b3cb (diff)
downloadmu-cd0d9e30fd6811e4316000d27cc60d49d819d97d.tar.gz
1969 - always hide screen before rendering
Also ensure we don't render unnecessarily.
This is really where I want a formal type-like system to help me.

All functions have paired calls to hide-screen and show-screen, except
for the one in main.

Only functions at the 'topmost' level are expected to hide/show.
Diffstat (limited to '071print.mu')
-rw-r--r--071print.mu2
1 files changed, 2 insertions, 0 deletions
diff --git a/071print.mu b/071print.mu
index 82677f7e..4a9241a5 100644
--- a/071print.mu
+++ b/071print.mu
@@ -586,6 +586,7 @@ recipe hide-screen [
   local-scope
   screen:address <- next-ingredient
   # if x exists (not real display), do nothing
+  # todo: help test this
   {
     break-unless screen
     reply screen
@@ -599,6 +600,7 @@ recipe show-screen [
   local-scope
   screen:address <- next-ingredient
   # if x exists (not real display), do nothing
+  # todo: help test this
   {
     break-unless screen
     reply screen