mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
94d00d9473
commit
7cbf52db1b
108
src/nvim/tui/terminfo.c
Normal file
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
8
src/nvim/tui/terminfo.h
Normal 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
|
1410
src/nvim/tui/tui.c
1410
src/nvim/tui/tui.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user