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

pdc_wt overrides pdc_conemu -- allows starting WT from ConEmu. (Note that the reverse seems unnecessary -- some of the ConEmu checks may be unneeded?)
Author: William McBrine
Author date (UTC): 2021-07-05 23:41
Committer name: xaizek
Committer date (UTC): 2024-03-24 22:14
Parent(s): 766dd95a079677d40040970b8c48dfb46a6f82fe
Signing key: 99DC5E4DB05F6BE2
Tree: 444f6a803d519817bd370ccdfdc95414e6ac661d
File Lines added Lines deleted
wincon/pdcscrn.c 1 1
File wincon/pdcscrn.c changed (mode: 100644) (index 0d61f821..dc729748)
... ... int PDC_scr_open(int argc, char **argv)
414 414 is_nt = !(GetVersion() & 0x80000000); is_nt = !(GetVersion() & 0x80000000);
415 415
416 416 pdc_wt = !!getenv("WT_SESSION"); pdc_wt = !!getenv("WT_SESSION");
417 str = getenv("ConEmuANSI");
417 str = pdc_wt ? NULL : getenv("ConEmuANSI");
418 418 pdc_conemu = !!str; pdc_conemu = !!str;
419 419 pdc_ansi = pdc_wt ? TRUE : pdc_conemu ? !strcmp(str, "ON") : FALSE; pdc_ansi = pdc_wt ? TRUE : pdc_conemu ? !strcmp(str, "ON") : FALSE;
420 420
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