mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
perf(ui): unpack grid_line (screen contents) directly
This commit is contained in:
@@ -2,12 +2,18 @@
|
||||
#define NVIM_UI_CLIENT_H
|
||||
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/grid_defs.h"
|
||||
|
||||
typedef struct {
|
||||
const char *name;
|
||||
void (*fn)(Array args);
|
||||
} UIClientHandler;
|
||||
|
||||
// Temporary buffer for converting a single grid_line event
|
||||
EXTERN size_t grid_line_buf_size INIT(= 0);
|
||||
EXTERN schar_T *grid_line_buf_char INIT(= NULL);
|
||||
EXTERN sattr_T *grid_line_buf_attr INIT(= NULL);
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "ui_client.h.generated.h"
|
||||
|
||||
|
Reference in New Issue
Block a user