mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
Merge pull request #20381 from cryptomilk/asn-vterm
build(deps): require libvterm version 0.3
This commit is contained in:
commit
c7cc6591c1
@ -502,7 +502,7 @@ if(FEAT_TUI)
|
||||
include_directories(SYSTEM ${LIBTERMKEY_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
find_package(LIBVTERM 0.1 REQUIRED)
|
||||
find_package(LIBVTERM 0.3 REQUIRED)
|
||||
include_directories(SYSTEM ${LIBVTERM_INCLUDE_DIRS})
|
||||
|
||||
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: {
|
||||
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;
|
||||
|
||||
if (frag.initial && frag.final) {
|
||||
@ -933,9 +932,6 @@ static int term_settermprop(VTermProp prop, VTermValue *val, void *data)
|
||||
xfree(term->title);
|
||||
term->title = NULL;
|
||||
}
|
||||
#else
|
||||
buf_set_term_title(buf, val->string, strlen(val->string));
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user