Fix format example
This commit is contained in:
parent
5632486637
commit
d22c70be41
@ -27,11 +27,12 @@
|
|||||||
:command (lambda ()
|
:command (lambda ()
|
||||||
(echo-durr))))
|
(echo-durr))))
|
||||||
;; Format doesn't seem to work until the gui ends
|
;; Format doesn't seem to work until the gui ends
|
||||||
|
;; Turns out we need to add ~%
|
||||||
(button3 (make-instance 'button
|
(button3 (make-instance 'button
|
||||||
:text "try format"
|
:text "try format"
|
||||||
:command (lambda ()
|
:command (lambda ()
|
||||||
(format *standard-output*
|
(format t
|
||||||
"hi"))))
|
"hi~%"))))
|
||||||
(scroller (make-instance 'scrollbar
|
(scroller (make-instance 'scrollbar
|
||||||
)))
|
)))
|
||||||
(grid button 0 0)
|
(grid button 0 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user