Skip to content

Commit

Permalink
Don't B.clear in print-main-screen.
Browse files Browse the repository at this point in the history
It isn't necessary, since we're drawing over the whole screen, and it may cause flickering in some terminals.
  • Loading branch information
Kodiologist committed Dec 15, 2023
1 parent 1aaac51 commit 5b13b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simalq/main.hy
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))

Expand Down

0 comments on commit 5b13b7d

Please sign in to comment.