From 9940a77b110275738beca1063a113118f787f936 Mon Sep 17 00:00:00 2001 From: Wolfgang Frisch Date: Thu, 12 Dec 2024 13:49:04 +0100 Subject: [PATCH] libraries: add libvterm --- .gitmodules | 3 +++ config.py | 18 ++++++++++++++++++ libraries/libvterm | 1 + 3 files changed, 22 insertions(+) create mode 160000 libraries/libvterm diff --git a/.gitmodules b/.gitmodules index 85040f9..c05a877 100644 --- a/.gitmodules +++ b/.gitmodules @@ -264,3 +264,6 @@ [submodule "libraries/rapidjson"] path = libraries/rapidjson url = https://github.com/Tencent/rapidjson/ +[submodule "libraries/libvterm"] + path = libraries/libvterm + url = https://github.com/wfrisch/libvterm-mirror diff --git a/config.py b/config.py index e941538..d67beae 100644 --- a/config.py +++ b/config.py @@ -754,6 +754,24 @@ def sparse_paths(self): 'src/unix/linux.c', 'src/unix/core.c' ]), + Library('libvterm', [ + "src/state.c", + "include/vterm.h", + "t/harness.c", + "src/vterm_internal.h", + "src/screen.c", + "src/vterm.c", + "src/parser.c", + "src/pen.c", + "src/keyboard.c", + "bin/vterm-ctrl.c", + "bin/unterm.c", + "bin/vterm-dump.c", + "src/encoding.c", + "src/unicode.c", + "include/vterm_keycodes.h", + "src/mouse.c", + ]), Library('libwebp', [ "src/enc/vp8l_enc.c", "examples/cwebp.c", diff --git a/libraries/libvterm b/libraries/libvterm new file mode 160000 index 0000000..67cd13a --- /dev/null +++ b/libraries/libvterm @@ -0,0 +1 @@ +Subproject commit 67cd13a2b85ac60cb5803e2716458cebb1b7fd62