1. Steve Losh
  2. clojure-lanterna

Commits

Steve Losh  committed 3e5fe2a

Fix hello world example

  • Participants
  • Parent commits fa7c9ae
  • Branches default

Comments (0)

Files changed (1)

File docs/index.markdown

View file
  • Ignore whitespace
 
     (def scr (s/get-screen))
 
-    (s/stop scr)
+    (s/start scr)
 
     (s/put-string scr 10 10 "Hello, world!")
     (s/put-string scr 10 11 "Press any key to exit!")
+    (s/redraw scr)
     (s/get-key-blocking scr)
 
     (s/stop scr)