neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

terminfo_defs.h (399B)


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