ui: Add 'rgb' parameter to ui_attach

When set to false, nvim will send cterm color numbers with `highlight_set`.
This commit is contained in:
Thiago de Arruda
2015-01-08 11:23:45 -03:00
parent a8fe32040b
commit 74c247f75b
5 changed files with 41 additions and 27 deletions

View File

@@ -13,6 +13,7 @@ typedef struct {
typedef struct ui_t UI;
struct ui_t {
bool rgb;
int width, height;
void *data;
void (*resize)(UI *ui, int rows, int columns);