mirror of
https://github.com/jarun/nnn.git
synced 2024-09-28 16:57:50 +00:00
Fix #366
This commit is contained in:
parent
f601d825bc
commit
651b27032d
11
src/nnn.c
11
src/nnn.c
|
@ -3256,10 +3256,10 @@ static void show_help(const char *path)
|
||||||
const char helpstr[] = {
|
const char helpstr[] = {
|
||||||
"0\n"
|
"0\n"
|
||||||
"1NAVIGATION\n"
|
"1NAVIGATION\n"
|
||||||
"a↑ k Up PgUp ^U Scroll up\n"
|
"9Up k Up PgUp ^U Scroll up\n"
|
||||||
"a↓ j Down PgDn ^D Scroll down\n"
|
"7Down j Down PgDn ^D Scroll down\n"
|
||||||
"a← h Parent ~ ` @ - HOME, /, start, last\n"
|
"7Left h Parent ~ ` @ - HOME, /, start, last\n"
|
||||||
"8↵ → l Open . Toggle show hidden\n"
|
"2Ret Right l Open . Toggle show hidden\n"
|
||||||
"9g ^A First entry G ^E Last entry\n"
|
"9g ^A First entry G ^E Last entry\n"
|
||||||
"cb Pin current dir ^B Go to pinned dir\n"
|
"cb Pin current dir ^B Go to pinned dir\n"
|
||||||
"6(Sh)Tab Cycle context d Toggle detail view\n"
|
"6(Sh)Tab Cycle context d Toggle detail view\n"
|
||||||
|
@ -3297,9 +3297,6 @@ static void show_help(const char *path)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getutil("fortune"))
|
|
||||||
pipetof("fortune -s", fp);
|
|
||||||
|
|
||||||
start = end = helpstr;
|
start = end = helpstr;
|
||||||
while (*end) {
|
while (*end) {
|
||||||
if (*end == '\n') {
|
if (*end == '\n') {
|
||||||
|
|
Loading…
Reference in a new issue