xaizek / vifm-pdcurses (License: mostly public domain) (since 2019-03-20)
PDCurses 3.4 with vifm-specific patches applied (a couple were upstreamed)
Commit 61172e68ea685ebbfd135ba8898bf6b1ecbab04b

Ignore underline attribute on Windows
Windows terminals don't support underscoring.
Author: xaizek
Author date (UTC): 2019-03-20 12:24
Committer name: xaizek
Committer date (UTC): 2019-03-20 12:24
Parent(s): edc9531889554c7ee297f13c88fb34d226028e2f
Signing key: 99DC5E4DB05F6BE2
Tree: db54cad3bba8659996d81d9841362e323ceba87f
File Lines added Lines deleted
win32/pdcscrn.c 2 1
File win32/pdcscrn.c changed (mode: 100644) (index b48ddaa..da84cde)
... ... void PDC_init_pair(short pair, short fg, short bg)
560 560 if (i & (A_REVERSE >> PDC_ATTR_SHIFT)) if (i & (A_REVERSE >> PDC_ATTR_SHIFT))
561 561 att = bg | (fg << 4); att = bg | (fg << 4);
562 562 if (i & (A_UNDERLINE >> PDC_ATTR_SHIFT)) if (i & (A_UNDERLINE >> PDC_ATTR_SHIFT))
563 att = 1;
563 /* No underscores in Windows terminals. */
564 att |= 0;
564 565 if (i & (A_INVIS >> PDC_ATTR_SHIFT)) if (i & (A_INVIS >> PDC_ATTR_SHIFT))
565 566 { {
566 567 temp_bg = att >> 4; temp_bg = att >> 4;
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