robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Kylefeat(tui): $NVIM_TERMDEFS can override builtin terminfo #3955584d5c5f4bf

master
413 B21 linesraw
1#pragma once
2
3#include <stdbool.h>
4#include <stddef.h>
5
6#include "nvim/tui/terminfo_enum_defs.h"
7
8typedef struct {
9  bool back_color_erase;
10  // these extended booleans indicate likely 24-color support
11  bool Tc;
12  bool RGB;
13  bool Su;
14
15  int max_colors;
16  int lines;
17  int columns;
18  const char *defs[kTermCount];
19  const char *keys[kTermKeyCount][2];
20  const char *f_keys[kTerminfoFuncKeyMax];
21} TerminfoEntry;