src/low-level/bearlibterminal.swig @ 0b1557603235
Add block box drawing border
I'm still not happy with the box-drawing UI. I'm not sure what to do in the
case where there's no border. Should the background expand to the full width?
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 05 Jul 2017 22:55:00 +0000 |
parents |
8e35ed93d731 |
children |
e0811ef78cce |
%module bearlibterminal
%insert("lisphead") %{
(cl:in-package :bearlibterminal/low-level)
(cffi:defctype color :uint)
(cffi:define-foreign-library blt:bearlibterminal
(:darwin (:or "Contents/Frameworks/libBearLibTerminal.dylib"
"lib/libBearLibTerminal.dylib")))
(cffi:use-foreign-library blt:bearlibterminal)
%}
%feature("intern_function","1");
%feature("export");
%typemap(cin) color_t "color";
%typemap(cout) color_t "color";
%typemap(cin) int8_t* ":string";
%typemap(cout) int8_t* ":string";
%include "src/low-level/include/BearLibTerminal.h"