Terminal control/Cursor positioning: Difference between revisions

Add a Common Lisp example using ncurses
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
(Add a Common Lisp example using ncurses)
Line 190:
GOBACK
.</lang>
 
=={{header|Common Lisp}}==
==={{header|ncurses}}===
To interface the ncurses C library from Lisp, the ''croatoan'' library is used.
<lang lisp>(defun cursor-positioning ()
(with-screen (scr :input-blocking t :input-echoing nil :cursor-visible nil)
(move scr 5 2)
(princ "Hello" scr)
(refresh scr)
;; wait for keypress
(get-char scr)))</lang>
 
=={{header|D}}==
69

edits