Browse Source

Fix build break; rl_menu_complete missing on macOS

master
Arun Prakash Jana 5 years ago
parent
commit
e039b0ee35
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/nnn.c

+ 4
- 0
src/nnn.c View File

@@ -4031,7 +4031,11 @@ int main(int argc, char *argv[])

/* Bind TAB to cycling */
rl_variable_bind("completion-ignore-case", "on");
#ifdef __linux__
rl_bind_key('\t', rl_menu_complete);
#else
rl_bind_key('\t', rl_complete);
#endif
read_history(NULL);

#ifdef DEBUGMODE


Loading…
Cancel
Save