Set the run-light BEFORE setting inferior-thread-changes?. Edwin may
accept-thread-output and clear the flag before it handles the thread
event (which will set the run-light, but not -changes?).
""
(string-append " [level: " (number->string level) "]")))
buffer)
- (set-run-light! buffer #f))))
- ;; This doesn't do any output, but prods the editor to notice that
- ;; the modeline has changed and a redisplay is needed.
- (inferior-thread-output! (port/output-registration port))
+ (set-run-light! buffer #f)
+ ;; This doesn't do any output, but prods the editor to notice
+ ;; that the modeline has changed and a redisplay is needed.
+ (inferior-thread-output! (port/output-registration port)))))
(do () ((ready? port))
(suspend-current-thread)))