Common lisp interface to bearlibterminal https://bitbucket.org/cfyzium/bearlibterminal. Created with https://github.com/rpav/cl-autowrap.

hello-world.lisp 276B

12345678910
  1. (in-package :bearlibterminal-examples)
  2. (defun hello-world ()
  3. "Simple hello world terminal example"
  4. (terminal-open)
  5. (terminal-print 1 1 "Hello, world!")
  6. (terminal-refresh)
  7. (loop while (not (equal (terminal-read) bearlibterminal-ffi:+tk-close+)))
  8. (terminal-close))