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

ASCII control code processing appears to be (incorrectly) always enabled for WriteConsole() in Windows Terminal, making it impossible to pass some of the CP437 altcharset. The kludge is to fall back to the non-ANSI mode (no extended attributes).
Author: William McBrine
Author date (UTC): 2021-07-06 07:44
Committer name: xaizek
Committer date (UTC): 2024-03-24 22:14
Parent(s): 9a9cc97f70ee0dcb3b4b4a5afd3dd0861d2cc35c
Signing key: 99DC5E4DB05F6BE2
Tree: e424bbd1dbf761c762ec88e2da7174b21a847c36
File Lines added Lines deleted
wincon/pdcscrn.c 5 1
File wincon/pdcscrn.c changed (mode: 100644) (index dc729748..f1f5fdd3)
... ... int PDC_scr_open(int argc, char **argv)
416 416 pdc_wt = !!getenv("WT_SESSION"); pdc_wt = !!getenv("WT_SESSION");
417 417 str = pdc_wt ? NULL : getenv("ConEmuANSI"); str = pdc_wt ? NULL : getenv("ConEmuANSI");
418 418 pdc_conemu = !!str; pdc_conemu = !!str;
419 pdc_ansi = pdc_wt ? TRUE : pdc_conemu ? !strcmp(str, "ON") : FALSE;
419 pdc_ansi =
420 #ifdef PDC_WIDE
421 pdc_wt ? TRUE :
422 #endif
423 pdc_conemu ? !strcmp(str, "ON") : FALSE;
420 424
421 425 GetConsoleScreenBufferInfo(pdc_con_out, &csbi); GetConsoleScreenBufferInfo(pdc_con_out, &csbi);
422 426 GetConsoleScreenBufferInfo(pdc_con_out, &orig_scr); GetConsoleScreenBufferInfo(pdc_con_out, &orig_scr);
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