mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
Merge PR #2039 'Update unibilium for OSX'
This commit is contained in:
commit
3e29231684
@ -722,9 +722,10 @@ static void fix_terminfo(TUIData *data)
|
||||
#define XTERM_SETAB \
|
||||
"\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m"
|
||||
|
||||
if (!strcmp(term, "xterm") && os_getenv("COLORTERM") != NULL) {
|
||||
if (os_getenv("COLORTERM") != NULL
|
||||
&& (!strcmp(term, "xterm") || !strcmp(term, "screen"))) {
|
||||
// probably every modern terminal that sets TERM=xterm supports 256
|
||||
// colors(eg: gnome-terminal).
|
||||
// colors(eg: gnome-terminal). Also do it when TERM=screen.
|
||||
unibi_set_num(ut, unibi_max_colors, 256);
|
||||
unibi_set_str(ut, unibi_set_a_foreground, XTERM_SETAF);
|
||||
unibi_set_str(ut, unibi_set_a_background, XTERM_SETAB);
|
||||
|
4
third-party/CMakeLists.txt
vendored
4
third-party/CMakeLists.txt
vendored
@ -60,8 +60,8 @@ set(LUAJIT_SHA1 2db39e7d1264918c2266b0436c313fbd12da4ceb)
|
||||
set(LUAROCKS_URL https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz)
|
||||
set(LUAROCKS_SHA1 61a894fd5d61987bf7e7f9c3e0c5de16ba4b68c4)
|
||||
|
||||
set(LIBUNIBILIUM_URL https://github.com/mauke/unibilium/archive/520abbc8b26910e2580619f669b5cc2c4ef7f864.tar.gz)
|
||||
set(LIBUNIBILIUM_SHA1 c546e5e8861380f5c109a256f25c93419e4076bf)
|
||||
set(LIBUNIBILIUM_URL https://github.com/mauke/unibilium/archive/bb979ff6f66a18663e15d086dec6276561b86ee0.tar.gz)
|
||||
set(LIBUNIBILIUM_SHA1 32c07797f298e5bc722ce14b6b9a2cae68e3c018)
|
||||
|
||||
set(LIBTERMKEY_URL https://github.com/neovim/libtermkey/archive/8c0cb7108cc63218ea19aa898968eede19e19603.tar.gz)
|
||||
set(LIBTERMKEY_SHA1 54e8b6914dab10d4467d2a563f80053a99849fcb)
|
||||
|
Loading…
Reference in New Issue
Block a user