tui: Separate out built-in terminfo records.

They are now in their own nvim/tui/terminfo.c file.

Also turn the TERMINAL_FAMILY macro into a function.  Use the terminfo_
prefix for its name as other parts of the program are unlikely to want
that namespace, and the prefix is already used for some other TUI
functions.
This commit is contained in:
Jonathan de Boyne Pollard 2017-05-30 23:08:47 +01:00
parent 94d00d9473
commit 7cbf52db1b
3 changed files with 149 additions and 1377 deletions

108
src/nvim/tui/terminfo.c Normal file

File diff suppressed because one or more lines are too long

8
src/nvim/tui/terminfo.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef NVIM_TUI_TERMINFO_H
#define NVIM_TUI_TERMINFO_H
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "tui/terminfo.h.generated.h"
#endif
#endif // NVIM_TUI_TERMINFO_H

File diff suppressed because it is too large Load Diff