mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix build break; rl_menu_complete missing on macOS
This commit is contained in:
parent
94e4201dc1
commit
e039b0ee35
|
@ -4031,7 +4031,11 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
/* Bind TAB to cycling */
|
/* Bind TAB to cycling */
|
||||||
rl_variable_bind("completion-ignore-case", "on");
|
rl_variable_bind("completion-ignore-case", "on");
|
||||||
|
#ifdef __linux__
|
||||||
rl_bind_key('\t', rl_menu_complete);
|
rl_bind_key('\t', rl_menu_complete);
|
||||||
|
#else
|
||||||
|
rl_bind_key('\t', rl_complete);
|
||||||
|
#endif
|
||||||
read_history(NULL);
|
read_history(NULL);
|
||||||
|
|
||||||
#ifdef DEBUGMODE
|
#ifdef DEBUGMODE
|
||||||
|
|
Loading…
Reference in a new issue