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;
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