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

Suppress cursor during blink redraw.
Author: William McBrine
Author date (UTC): 2021-07-07 08:22
Committer name: xaizek
Committer date (UTC): 2024-03-24 22:14
Parent(s): dcd83e47788645ae2ed97700fd8e2b3674d67d95
Signing key: 99DC5E4DB05F6BE2
Tree: 3f4f168a89b1683a8053666795c60c5e05748c33
File Lines added Lines deleted
wincon/pdcdisp.c 16 0
File wincon/pdcdisp.c changed (mode: 100644) (index 6786e839..b89485a9)
... ... void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
276 276
277 277 void PDC_blink_text(void) void PDC_blink_text(void)
278 278 { {
279 CONSOLE_CURSOR_INFO cci;
279 280 int i, j, k; int i, j, k;
281 bool oldvis;
282
283 GetConsoleCursorInfo(pdc_con_out, &cci);
284 oldvis = cci.bVisible;
285 if (oldvis)
286 {
287 cci.bVisible = FALSE;
288 SetConsoleCursorInfo(pdc_con_out, &cci);
289 }
280 290
281 291 if (!(SP->termattrs & A_BLINK)) if (!(SP->termattrs & A_BLINK))
282 292 blinked_off = FALSE; blinked_off = FALSE;
 
... ... void PDC_blink_text(void)
299 309 } }
300 310
301 311 PDC_gotoyx(SP->cursrow, SP->curscol); PDC_gotoyx(SP->cursrow, SP->curscol);
312 if (oldvis)
313 {
314 cci.bVisible = TRUE;
315 SetConsoleCursorInfo(pdc_con_out, &cci);
316 }
317
302 318 pdc_last_blink = GetTickCount(); pdc_last_blink = GetTickCount();
303 319 } }
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