xaizek / vifm-pdcurses (License: mostly public domain) (since 2019-03-20)
PDCurses 3.4 with vifm-specific patches applied (a couple were upstreamed)
<root> / os2 / pdcos2.h (1c11d480eda4e7679e52cce8624cecab28cdb268) (925B) (mode 100644) [raw]
/* Public Domain Curses */

/* $Id: pdcos2.h,v 1.9 2008/08/14 06:38:35 wmcbrine Exp $ */

#ifdef _MSC_VER
# define USE_OS2_H 1         /* Use the os2.h for the compiler       */
# define APIRET USHORT
#endif

#include <stdlib.h>
#include <string.h>

#ifdef EMXVIDEO
# include <sys/video.h>
#else
# define INCL_DOS
# define INCL_DOSMISC
# define INCL_WIN
# define INCL_VIO
# define INCL_KBD
# define INCL_MOU
# include <os2.h>
#endif

#include <curspriv.h>

#ifdef __WATCOMC__
# define PDCTHUNK(x) ((ptr_16)(x))
# ifdef __386__
#  define SEG16 _Seg16
# else
#  define SEG16
# endif

typedef void * SEG16 ptr_16;

#else
# ifdef __EMX__
#  ifdef __INNOTEK_LIBC__
#   define PDCTHUNK(x) ((PCH)_libc_32to16(x))
#  else
#   define PDCTHUNK(x) ((PCH)_emx_32to16(x))
#  endif
# endif
#endif

extern unsigned char *pdc_atrtab;
extern int pdc_font;

extern void PDC_get_keyboard_info(void);
extern void PDC_set_keyboard_default(void);
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm-pdcurses

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm-pdcurses

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master