Mercurial > vim
comparison src/libvterm/src/vterm_internal.h @ 20460:c15dd3da4f47 v8.2.0784
patch 8.2.0784: libvterm code lags behind the upstream version
Commit: https://github.com/vim/vim/commit/94d729cbe8f0f788d9d7539f733cff395e73b228
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 17 21:50:16 2020 +0200
patch 8.2.0784: libvterm code lags behind the upstream version
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 730 - 733.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 May 2020 22:00:04 +0200 |
parents | ffadba5f898c |
children | d0bf39eb2b07 |
comparison
equal
deleted
inserted
replaced
20459:8d6f1cfef895 | 20460:c15dd3da4f47 |
---|---|
205 size_t strbuffer_cur; | 205 size_t strbuffer_cur; |
206 } parser; | 206 } parser; |
207 | 207 |
208 // len == malloc()ed size; cur == number of valid bytes | 208 // len == malloc()ed size; cur == number of valid bytes |
209 | 209 |
210 VTermOutputCallback *outfunc; | |
211 void *outdata; | |
212 | |
210 char *outbuffer; | 213 char *outbuffer; |
211 size_t outbuffer_len; | 214 size_t outbuffer_len; |
212 size_t outbuffer_cur; | 215 size_t outbuffer_cur; |
213 | 216 |
214 char *tmpbuffer; | 217 char *tmpbuffer; |
266 int vterm_unicode_width(uint32_t codepoint); | 269 int vterm_unicode_width(uint32_t codepoint); |
267 int vterm_unicode_is_combining(uint32_t codepoint); | 270 int vterm_unicode_is_combining(uint32_t codepoint); |
268 int vterm_unicode_is_ambiguous(uint32_t codepoint); | 271 int vterm_unicode_is_ambiguous(uint32_t codepoint); |
269 int vterm_get_special_pty_type(void); | 272 int vterm_get_special_pty_type(void); |
270 | 273 |
271 #endif | 274 #if (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE >= 500) \ |
275 || defined(_ISOC99_SOURCE) || defined(_BSD_SOURCE) | |
276 # undef VSNPRINTF | |
277 # define VSNPRINTF vsnprintf | |
278 # undef SNPRINTF | |
279 #else | |
280 # ifdef VSNPRINTF | |
281 // Use a provided vsnprintf() function. | |
282 int VSNPRINTF(char *str, size_t str_m, const char *fmt, va_list ap); | |
283 # endif | |
284 # ifdef SNPRINTF | |
285 // Use a provided snprintf() function. | |
286 int SNPRINTF(char *str, size_t str_m, const char *fmt, ...); | |
287 # endif | |
288 #endif | |
289 #ifndef SNPRINTF | |
290 # define SNPRINTF snprintf | |
291 #endif | |
292 | |
293 | |
294 #endif |