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

Add support for Alt-. shortcut on Win32
This patch has been taken from:
https://sourceforge.net/p/pdcurses/discussion/95730/thread/75b9a1ea/
Author: xaizek
Author date (UTC): 2024-12-19 16:01
Committer name: xaizek
Committer date (UTC): 2024-12-19 16:03
Parent(s): c54862725e3f1d045d22c34e48891905a2b4079a
Signing key: 99DC5E4DB05F6BE2
Tree: 35ad03f8a302e8450b71b2c5a68651bca84d99fc
File Lines added Lines deleted
curses.h 3 1
win32/pdckbd.c 1 1
File curses.h changed (mode: 100644) (index 6f3ce19d..df470e2d)
... ... bits), 8 bits for other attributes, and 16 bits for character data.
856 856 #define KEY_SUP 0x223 /* Shifted up arrow */ #define KEY_SUP 0x223 /* Shifted up arrow */
857 857 #define KEY_SDOWN 0x224 /* Shifted down arrow */ #define KEY_SDOWN 0x224 /* Shifted down arrow */
858 858
859 #define ALT_PERIOD 0x225 /* alt-period */
860
859 861 #define KEY_MIN KEY_BREAK /* Minimum curses key value */ #define KEY_MIN KEY_BREAK /* Minimum curses key value */
860 #define KEY_MAX KEY_SDOWN /* Maximum curses key */
862 #define KEY_MAX ALT_PERIOD /* Maximum curses key */
861 863
862 864 #define KEY_F(n) (KEY_F0 + (n)) #define KEY_F(n) (KEY_F0 + (n))
863 865
File win32/pdckbd.c changed (mode: 100644) (index 1c5b05b0..9d4f73c2)
... ... static KPTAB kptab[] =
194 194 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0},
195 195 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0},
196 196 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0},
197 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0},
197 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, ALT_PERIOD, 0}, {0, 0, 0, 0, 0},
198 198 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0},
199 199 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0},
200 200 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0},
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