xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
<root> / patches / pdcurses34 / pdcurses-3-fix-underline.patch (44b65031f1d973481637e8f9ad4b7ded11effdc4) (556B) (mode 100644) [raw]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ignore underline attribute on Windows.

diff --git a/win32/pdcscrn.c b/win32/pdcscrn.c
index b48ddaa..da84cde 100644
--- a/win32/pdcscrn.c
+++ b/win32/pdcscrn.c
@@ -560,7 +560,8 @@ void PDC_init_pair(short pair, short fg, short bg)
         if (i & (A_REVERSE >> PDC_ATTR_SHIFT))
             att = bg | (fg << 4);
         if (i & (A_UNDERLINE >> PDC_ATTR_SHIFT))
-            att = 1;
+            /* No underscores in Windows terminals. */
+            att |= 0;
         if (i & (A_INVIS >> PDC_ATTR_SHIFT))
         {
             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

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

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