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

Add support for Alt-. shortcut on Win32
Author: xaizek
Author date (UTC): 2024-03-24 22:11
Committer name: xaizek
Committer date (UTC): 2024-03-24 22:11
Parent(s): 6c1f95c4fa9f9f105879c2d99dd72a5bf335c046
Signing key: 99DC5E4DB05F6BE2
Tree: cbf08af104756ab6af71b64c0de99ad6902d84d4
File Lines added Lines deleted
curses.h 2 1
wincon/pdckbd.c 1 1
File curses.h changed (mode: 100644) (index b5b91fda..f1ef17bc)
... ... indicator.
861 861 #define KEY_RESIZE 0x222 /* Window resize */ #define KEY_RESIZE 0x222 /* Window resize */
862 862 #define KEY_SUP 0x223 /* Shifted up arrow */ #define KEY_SUP 0x223 /* Shifted up arrow */
863 863 #define KEY_SDOWN 0x224 /* Shifted down arrow */ #define KEY_SDOWN 0x224 /* Shifted down arrow */
864 #define ALT_PERIOD 0x225 /* alt-period */
864 865
865 866 #define KEY_MIN KEY_BREAK /* Minimum curses key value */ #define KEY_MIN KEY_BREAK /* Minimum curses key value */
866 #define KEY_MAX KEY_SDOWN /* Maximum curses key */
867 #define KEY_MAX ALT_PERIOD /* Maximum curses key */
867 868
868 869 #define KEY_F(n) (KEY_F0 + (n)) #define KEY_F(n) (KEY_F0 + (n))
869 870
File wincon/pdckbd.c changed (mode: 100644) (index 95869714..cc53d8ea)
... ... static KPTAB kptab[] =
197 197 {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},
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 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0},
200 {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, ALT_PERIOD, 0}, {0, 0, 0, 0, 0},
201 201 {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},
202 202 {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},
203 203 {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