Tmux etc
This commit is contained in:
parent
276853ba84
commit
1cb167b597
361 changed files with 77302 additions and 4 deletions
|
|
@ -0,0 +1,25 @@
|
|||
(in-package :de.anvi.ncurses)
|
||||
|
||||
;;; addch
|
||||
;;; add a character (with attributes) to a curses window, then advance the cursor
|
||||
;;; http://invisible-island.net/ncurses/man/curs_addch.3x.html
|
||||
|
||||
;;; C prototypes
|
||||
|
||||
;; int addch(const chtype ch);
|
||||
;; int waddch(WINDOW *win, const chtype ch);
|
||||
;; int mvaddch(int y, int x, const chtype ch);
|
||||
;; int mvwaddch(WINDOW *win, int y, int x, const chtype ch);
|
||||
;; int echochar(const chtype ch);
|
||||
;; int wechochar(WINDOW *win, const chtype ch);
|
||||
|
||||
;;; Low-level CFFI wrappers
|
||||
|
||||
(defcfun ("addch" %addch) :int (ch chtype))
|
||||
(defcfun ("waddch" %waddch) :int (win window) (ch chtype))
|
||||
|
||||
(defcfun ("mvaddch" %mvaddch) :int (y :int) (x :int) (ch chtype))
|
||||
(defcfun ("mvwaddch" %mvwaddch) :int (win window) (y :int) (x :int) (ch chtype))
|
||||
|
||||
(defcfun ("echochar" %echochar) :int (ch chtype))
|
||||
(defcfun ("wechochar" %wechochar) :int (win window) (ch chtype))
|
||||
Loading…
Add table
Add a link
Reference in a new issue