This commit is contained in:
Ian Keane 2020-02-18 14:21:14 -05:00
parent 276853ba84
commit 1cb167b597
361 changed files with 77302 additions and 4 deletions

View file

@ -0,0 +1,19 @@
(in-package :de.anvi.ncurses)
;;; inch
;;; get a character and attributes from a curses window
;;; http://invisible-island.net/ncurses/man/curs_inch.3x.html
;;; C prototypes
;; chtype inch(void);
;; chtype winch(WINDOW *win);
;; chtype mvinch(int y, int x);
;; chtype mvwinch(WINDOW *win, int y, int x);
;;; Low-level CFFI wrappers
(defcfun ("inch" %inch) chtype)
(defcfun ("winch" %winch) chtype (win window))
(defcfun ("mvinch" %mvinch) chtype (y :int) (x :int))
(defcfun ("mvwinch" %mvwinch) chtype (win window) (y :int) (x :int))