mirror of
https://github.com/neovim/neovim
synced 2025-07-28 09:21:58 +00: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:
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
Reference in New Issue
Block a user