From 5b13b7d96ce5b0d8c4baf49212e06c67cee48c21 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Fri, 15 Dec 2023 16:13:53 -0500 Subject: [PATCH] Don't `B.clear` in `print-main-screen`. It isn't necessary, since we're drawing over the whole screen, and it may cause flickering in some terminals. --- simalq/main.hy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simalq/main.hy b/simalq/main.hy index 16fcea7..a0a8b57 100644 --- a/simalq/main.hy +++ b/simalq/main.hy @@ -190,7 +190,7 @@ (defn print-main-screen [focus #** kwargs] (print :flush T :sep "" :end "" - B.home B.clear + B.home (.join "\n" (map (fn [x] (bless-colorstr B x)) (draw-screen B.width B.height focus #** kwargs)))))