mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Add ncurses 6.4
This commit is contained in:
parent
6ee5580adc
commit
0ed7309fdb
3071 changed files with 69379 additions and 1 deletions
34
third_party/ncurses/fallback.c
vendored
Normal file
34
third_party/ncurses/fallback.c
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
/* This file was generated by ./tinfo/MKfallback.sh */
|
||||
|
||||
/*
|
||||
* DO NOT EDIT THIS FILE BY HAND!
|
||||
*/
|
||||
|
||||
#include "curses.priv.h"
|
||||
|
||||
NCURSES_EXPORT(const TERMTYPE2 *)
|
||||
_nc_fallback2 (const char *name GCC_UNUSED)
|
||||
{
|
||||
/* the fallback list is empty */
|
||||
return((const TERMTYPE2 *)0);
|
||||
}
|
||||
|
||||
#if NCURSES_EXT_NUMBERS
|
||||
#undef _nc_fallback
|
||||
|
||||
/*
|
||||
* This entrypoint is used by tack 1.07
|
||||
*/
|
||||
NCURSES_EXPORT(const TERMTYPE *)
|
||||
_nc_fallback (const char *name)
|
||||
{
|
||||
const TERMTYPE2 *tp = _nc_fallback2(name);
|
||||
const TERMTYPE *result = 0;
|
||||
if (tp != 0) {
|
||||
static TERMTYPE temp;
|
||||
_nc_export_termtype2(&temp, tp);
|
||||
result = &temp;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue