mirror of
https://github.com/neovim/neovim.git
synced 2025-10-10 11:56:30 +00:00
build(deps): require libvterm version 0.3
This commit is contained in:
@@ -502,7 +502,7 @@ if(FEAT_TUI)
|
|||||||
include_directories(SYSTEM ${LIBTERMKEY_INCLUDE_DIRS})
|
include_directories(SYSTEM ${LIBTERMKEY_INCLUDE_DIRS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(LIBVTERM 0.1 REQUIRED)
|
find_package(LIBVTERM 0.3 REQUIRED)
|
||||||
include_directories(SYSTEM ${LIBVTERM_INCLUDE_DIRS})
|
include_directories(SYSTEM ${LIBVTERM_INCLUDE_DIRS})
|
||||||
|
|
||||||
option(CLANG_ASAN_UBSAN "Enable Clang address & undefined behavior sanitizer for nvim binary." OFF)
|
option(CLANG_ASAN_UBSAN "Enable Clang address & undefined behavior sanitizer for nvim binary." OFF)
|
||||||
|
@@ -908,7 +908,6 @@ static int term_settermprop(VTermProp prop, VTermValue *val, void *data)
|
|||||||
|
|
||||||
case VTERM_PROP_TITLE: {
|
case VTERM_PROP_TITLE: {
|
||||||
buf_T *buf = handle_get_buffer(term->buf_handle);
|
buf_T *buf = handle_get_buffer(term->buf_handle);
|
||||||
#if VTERM_VERSION_MAJOR > 0 || (VTERM_VERSION_MAJOR == 0 && VTERM_VERSION_MINOR >= 2)
|
|
||||||
VTermStringFragment frag = val->string;
|
VTermStringFragment frag = val->string;
|
||||||
|
|
||||||
if (frag.initial && frag.final) {
|
if (frag.initial && frag.final) {
|
||||||
@@ -933,9 +932,6 @@ static int term_settermprop(VTermProp prop, VTermValue *val, void *data)
|
|||||||
xfree(term->title);
|
xfree(term->title);
|
||||||
term->title = NULL;
|
term->title = NULL;
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
buf_set_term_title(buf, val->string, strlen(val->string));
|
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user