Improve editor's upload progress display a bit
This commit is contained in:
parent
47e189f709
commit
bf16fe3a6c
1 changed files with 5 additions and 2 deletions
|
@ -757,8 +757,11 @@ Additionally ensures correct line numbers on the way, as a bonus."
|
||||||
"If non-NIL, reload asm function addresses from listing before every compile.")
|
"If non-NIL, reload asm function addresses from listing before every compile.")
|
||||||
|
|
||||||
(defun draw-transfer-progress (progress total)
|
(defun draw-transfer-progress (progress total)
|
||||||
(move-cursor 1 0)
|
(clear-screen)
|
||||||
(format *eio* "Uploading, ~D/~D~%" progress total))
|
(let ((text (format nil "Uploading, ~4,'0D/~4,'0D" progress total)))
|
||||||
|
(move-cursor 12 (- (/ 80 2) (/ (length text) 2)))
|
||||||
|
(write-string text *eio*)
|
||||||
|
(force-output *eio*)))
|
||||||
|
|
||||||
(defun com-compile-buffer ()
|
(defun com-compile-buffer ()
|
||||||
(when *refresh-asm-functions-p*
|
(when *refresh-asm-functions-p*
|
||||||
|
|
Loading…
Add table
Reference in a new issue