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 c4ef5caaf525903c75601b15b4670c1d625f8e63

Pause on Windows on :help failed execution
Thanks to filterfalse.
Author: xaizek
Author date (UTC): 2013-05-06 08:56
Committer name: xaizek
Committer date (UTC): 2013-05-06 08:56
Parent(s): f7ad2c9205d75a7d34b8e3d2857747c11b8a4ad8
Signing key:
Tree: 58e1e3cf4516b13f4a240ca4acb9353edf03ddd5
File Lines added Lines deleted
ChangeLog 5 1
src/commands.c 5 2
File ChangeLog changed (mode: 100644) (index 56053fabe..2c9822264)
17 17
18 18 Don't accept arguments to the :help command when 'vimhelp' option is off. Don't accept arguments to the :help command when 'vimhelp' option is off.
19 19
20 Pause on Windows on failed execution of a help command. Thanks to
21 filterfalse.
22
20 23 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
21 24 "[m" sequence were removed). Thanks to Sebastian Cyprych. "[m" sequence were removed). Thanks to Sebastian Cyprych.
22 25
 
30 33
31 34 Fixed potential issues pointed out by clang static analyzer. Fixed potential issues pointed out by clang static analyzer.
32 35
33 Fixed calling Vim on :help command without arguments on Windows.
36 Fixed calling Vim on :help command without arguments on Windows. Thanks
37 to filterfalse.
34 38
35 39 0.7.4b to 0.7.5-beta 0.7.4b to 0.7.5-beta
36 40
File src/commands.c changed (mode: 100644) (index 4d65e786c..436fdaf46)
36 36 #include <signal.h> #include <signal.h>
37 37 #include <stddef.h> /* NULL size_t */ #include <stddef.h> /* NULL size_t */
38 38 #include <stdio.h> /* snprintf() */ #include <stdio.h> /* snprintf() */
39 #include <stdlib.h> /* system() free() */
39 #include <stdlib.h> /* EXIT_SUCCESS system() free() */
40 40 #include <string.h> /* strncmp() */ #include <string.h> /* strncmp() */
41 41 #include <time.h> #include <time.h>
42 42
 
... ... help_cmd(const cmd_info_t *cmd_info)
2291 2291 def_prog_mode(); def_prog_mode();
2292 2292 endwin(); endwin();
2293 2293 system("cls"); system("cls");
2294 system(buf);
2294 if(system(buf) != EXIT_SUCCESS)
2295 {
2296 system("pause");
2297 }
2295 2298 update_screen(UT_FULL); update_screen(UT_FULL);
2296 2299 #endif #endif
2297 2300 } }
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