Skip to content

Commit 8d5647e

Browse files
committed
Revert "Use synchronized-output mode."
This reverts commit 50039ab. I can't see a performance improvement (because drawing is already fast, I guess), and checking to see if the terminal supports it requires a delay.
1 parent 50039ab commit 8d5647e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

simalq/main.hy

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,9 @@
197197
(B.inkey :esc-delay .01))
198198

199199
(defn print-full-screen [#* output]
200-
(setv output (+ B.home (.join "" output)))
201-
(with [(.synchronized-output B :timeout .05)]
202-
; .05 s may well be too little time for SSH, but making the user
203-
; not wait too long for a local terminal that just isn't
204-
; responding, as is the more common case, is more important.
205-
(print :flush T :end "" output)))
200+
(print
201+
:flush T :end "" :sep ""
202+
B.home #* output))
206203

207204
;; --------------------------------------------------------------
208205
;; ** The main loop for IO

0 commit comments

Comments
 (0)