Functions
terminfo.c File Reference
#include <stdbool.h>
#include <string.h>
#include <unibilium.h>
#include "nvim/log.h"
#include "nvim/globals.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/option.h"
#include "nvim/os/os.h"
#include "nvim/tui/terminfo.h"
#include "nvim/tui/terminfo_defs.h"

Functions

bool terminfo_is_term_family (const char *term, const char *family)
 
bool terminfo_is_bsd_console (const char *term)
 
unibi_term * terminfo_from_builtin (const char *term, char **termname)
 
void terminfo_info_msg (const unibi_term *const ut)
 

Function Documentation

unibi_term* terminfo_from_builtin ( const char *  term,
char **  termname 
)
Parameters
term$TERMvalue
void terminfo_info_msg ( const unibi_term *const  ut)

Dumps termcap info to the messages area. Serves a similar purpose as Vim :set termcap (removed in Nvim).

Note
adapted from unibilium unibi-dump.c
bool terminfo_is_bsd_console ( const char *  term)
bool terminfo_is_term_family ( const char *  term,
const char *  family 
)