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

Make is_termresized() work on Windows
Author: xaizek
Author date (UTC): 2024-12-19 16:01
Committer name: xaizek
Committer date (UTC): 2024-12-19 16:05
Parent(s): 7261f485825605539110522af55f6aa2c947a561
Signing key: 99DC5E4DB05F6BE2
Tree: ab2e9fb97fd487c1b239cd510a4a8a19f019b9b6
File Lines added Lines deleted
pdcurses/initscr.c 3 1
File pdcurses/initscr.c changed (mode: 100644) (index d80fa0cf..ebaac348)
... ... bool is_termresized(void)
330 330 { {
331 331 PDC_LOG(("is_termresized() - called\n")); PDC_LOG(("is_termresized() - called\n"));
332 332
333 return SP->resized;
333 return SP->resized
334 || SP->lines != PDC_get_rows()
335 || SP->cols != PDC_get_columns();
334 336 } }
335 337
336 338 const char *curses_version(void) const char *curses_version(void)
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