vterm-sys 0.0.1

FFI bindings to libvterm
docs.rs failed to build vterm-sys-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

This library provides rust bindings for libvterm: http://www.leonerd.org.uk/code/libvterm/

libvterm is "An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"

How to build

git submodule init
git submodule update
(cd vendor/libvterm; make)
cargo build

The make part in libvterm runs a perl script to transform some files in libvterm/src/encoding.

How to turn on libvterm debugging

Use CFLAGS env var to define DEBUG with is used in vterm_internal.h to control logging to stderr:

CFLAGS=-DDEBUG cargo test