mirror of
https://github.com/jarun/nnn.git
synced 2024-11-18 08:59:14 +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[] = {
|
||||
"0\n"
|
||||
"1NAVIGATION\n"
|
||||
"a↑ k Up PgUp ^U Scroll up\n"
|
||||
"a↓ j Down PgDn ^D Scroll down\n"
|
||||
"a← h Parent ~ ` @ - HOME, /, start, last\n"
|
||||
"8↵ → l Open . Toggle show hidden\n"
|
||||
"9Up k Up PgUp ^U Scroll up\n"
|
||||
"7Down j Down PgDn ^D Scroll down\n"
|
||||
"7Left h Parent ~ ` @ - HOME, /, start, last\n"
|
||||
"2Ret Right l Open . Toggle show hidden\n"
|
||||
"9g ^A First entry G ^E Last entry\n"
|
||||
"cb Pin current dir ^B Go to pinned dir\n"
|
||||
"6(Sh)Tab Cycle context d Toggle detail view\n"
|
||||
|
@ -3297,9 +3297,6 @@ static void show_help(const char *path)
|
|||
return;
|
||||
}
|
||||
|
||||
if (getutil("fortune"))
|
||||
pipetof("fortune -s", fp);
|
||||
|
||||
start = end = helpstr;
|
||||
while (*end) {
|
||||
if (*end == '\n') {
|
||||
|
|
Loading…
Reference in a new issue