xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 903c6b39e03e40b9a13c8e59cfdbb86e22dc7102

Resize terminal to its original size after :help
This solution is a workaround for strange behaviour of pdcurses library
for this case: the window is resized correctly at first, but changes its
size back on wrefresh(...) call.

Thanks to filterfalse.
Author: xaizek
Author date (UTC): 2013-05-10 08:21
Committer name: xaizek
Committer date (UTC): 2013-05-10 08:29
Parent(s): c7a34ef63e2c39cd8a2b6f965f3bf05668e77162
Signing key:
Tree: ec9585aa1e3b032d92213400e7ca2851e5f9da3f
File Lines added Lines deleted
ChangeLog 3 0
src/commands.c 1 0
src/ui.c 5 0
File ChangeLog changed (mode: 100644) (index 4b2cdbf7f..ee0f1c897)
22 22
23 23 Pause on Windows, when executing of shell command fails. Pause on Windows, when executing of shell command fails.
24 24
25 Resize terminal window back to its original size after :help on Windows.
26 Thanks to filterfalse.
27
25 28 Fixed generation of vifm-help.txt file on Windows (all occurrences of the Fixed generation of vifm-help.txt file on Windows (all occurrences of the
26 29 "[m" sequence were removed). Thanks to Sebastian Cyprych. "[m" sequence were removed). Thanks to Sebastian Cyprych.
27 30
File src/commands.c changed (mode: 100644) (index c66526c7e..8b88d5a05)
... ... help_cmd(const cmd_info_t *cmd_info)
2306 2306 system("pause"); system("pause");
2307 2307 } }
2308 2308 update_screen(UT_FULL); update_screen(UT_FULL);
2309 update_screen(UT_REDRAW);
2309 2310 #endif #endif
2310 2311 } }
2311 2312 return 0; return 0;
File src/ui.c changed (mode: 100644) (index 8bc6f7654..2f1ea715b)
... ... resize_all(void)
1089 1089 resize_term(ws.ws_row, ws.ws_col); resize_term(ws.ws_row, ws.ws_col);
1090 1090 #endif #endif
1091 1091
1092 #ifdef _WIN32
1093 getmaxyx(stdscr, screen_y, screen_x);
1094 resize_term(screen_y, screen_x);
1095 #endif
1096
1092 1097 getmaxyx(stdscr, screen_y, screen_x); getmaxyx(stdscr, screen_y, screen_x);
1093 1098 cfg.lines = screen_y; cfg.lines = screen_y;
1094 1099 cfg.columns = screen_x; cfg.columns = screen_x;
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

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

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