about summary refs log tree commit diff stats
path: root/071print.mu
diff options
context:
space:
mode:
Diffstat (limited to '071print.mu')
-rw-r--r--071print.mu10
1 files changed, 10 insertions, 0 deletions
diff --git a/071print.mu b/071print.mu
index 186f5913..6aeb2042 100644
--- a/071print.mu
+++ b/071print.mu
@@ -65,6 +65,16 @@ recipe clear-screen [
   reply sc/same-as-ingredient:0
 ]
 
+recipe sync-screen [
+  local-scope
+  sc:address:screen <- next-ingredient
+  {
+    break-if sc
+    sync-display
+  }
+  # do nothing for fake screens
+]
+
 recipe fake-screen-is-empty? [
   local-scope
   sc:address:screen <- next-ingredient