From cd0d9e30fd6811e4316000d27cc60d49d819d97d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 10 Aug 2015 13:25:32 -0700 Subject: 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. --- 071print.mu | 2 ++ 1 file changed, 2 insertions(+) (limited to '071print.mu') 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 -- cgit 1.4.1-2-gfad0