Based on libROTE, libvterm is a color terminal emulator. It mimics vt100, rxvt, xterm, and xterm 256 color mode
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
reference-docs updated xterm documentation with better file provided by Thomas Dickey Nov 28, 2018
test Working on terminal recording bit. Dec 29, 2017
API
CHANGELOG
CMakeLists.txt added proper support for NEL and RI escape codes based on results fro… Feb 1, 2019
COPYING
LICENSING.LGPL
README.md
TESTING update TESTING file Jan 14, 2019
color_math.c improve support for xterm. fix a memory leak. prelim work for more th… Jan 14, 2019
color_math.h
macros.h
pkg-config.pc.cmake added pkg-config cmake template Sep 21, 2017
stringv.c mostly working 256 xterm color mode Jan 16, 2019
stringv.h mostly working 256 xterm color mode Jan 16, 2019
utlist.h
vterm.c
vterm.h
vterm_buffer.c
vterm_buffer.h
vterm_colors.c
vterm_colors.h
vterm_csi.h added proper support for NEL and RI escape codes based on results fro… Feb 1, 2019
vterm_csi_CBT.c
vterm_csi_CUP.c properly handle esc-IND surfaced by vttest Feb 1, 2019
vterm_csi_CUx.c added proper support for NEL and RI escape codes based on results fro… Feb 1, 2019
vterm_csi_DCH.c
vterm_csi_DECSTBM.c send control codes Jan 7, 2019
vterm_csi_DL.c fix up color functions and macros to export RGB values externally for… Feb 11, 2019
vterm_csi_ECH.c fix up color functions and macros to export RGB values externally for… Feb 11, 2019
vterm_csi_ED.c
vterm_csi_EL.c fix up color functions and macros to export RGB values externally for… Feb 11, 2019
vterm_csi_ICH.c
vterm_csi_IL.c
vterm_csi_REP.c
vterm_csi_RESTORECUR.c moved save cursor and restore cursor into their own functions. added … Jan 2, 2019
vterm_csi_RS1.c move cache subsystem to global instantiation Jan 30, 2019
vterm_csi_SAVECUR.c moved save cursor and restore cursor into their own functions. added … Jan 2, 2019
vterm_csi_SD.c
vterm_csi_SGR.c fix up color functions and macros to export RGB values externally for… Feb 11, 2019
vterm_csi_SU.c handle csi SD and fix off-by-one bug Jan 7, 2019
vterm_csi_UNKNOWN.c clean up and consolidate licensing information. it was scattered all … Dec 31, 2018
vterm_cursor.c
vterm_cursor.h moved save cursor and restore cursor into their own functions. added … Jan 2, 2019
vterm_dec_RM.c
vterm_dec_SM.c parse for X10 and SGR mouse modes... nothing more Jan 7, 2019
vterm_erase.c fix up color functions and macros to export RGB values externally for… Feb 11, 2019
vterm_esc_IND.c
vterm_esc_NEL.c added proper support for NEL and RI escape codes based on results fro… Feb 1, 2019
vterm_esc_RI.c added proper support for NEL and RI escape codes based on results fro… Feb 1, 2019
vterm_escape.c use a jump table for simple escape codes Feb 1, 2019
vterm_escape.h
vterm_exec.c
vterm_exec.h
vterm_hook.c
vterm_misc.c clean up and consolidate licensing information. it was scattered all … Dec 31, 2018
vterm_misc.h clean up and consolidate licensing information. it was scattered all … Dec 31, 2018
vterm_osc.c
vterm_osc.h
vterm_private.h
vterm_read.c clean up and consolidate licensing information. it was scattered all … Dec 31, 2018
vterm_render.c fix up color functions and macros to export RGB values externally for… Feb 11, 2019
vterm_render.h clean up and consolidate licensing information. it was scattered all … Dec 31, 2018
vterm_resize.c
vterm_scroll.c
vterm_utf8.c
vterm_utf8.h
vterm_wnd.c
vterm_write.c fix regression where sinking of mouse click was ignored Jan 30, 2019
vterm_write.h

README.md

Based on ROTE, libvterm is a terminal emulator library which attempts to mimic VT100, rxvt, xterm and xterm 256 color capabilities. Although the natural display apparatus is curses, current contributions from Hitachi-ID have allowed it to use a stream buffer for output.

The build system for libvterm uses CMake and it automatically detects a variety of different settings and libraries. A default build tries to include support for curses/ncurses. If you want to suppress the behavior, specify the following:

cmake -DDEFINE_CURSES=OFF