浏览代码

Fix build break; rl_menu_complete missing on macOS

master
Arun Prakash Jana 6 年前
父节点
当前提交
e039b0ee35
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      src/nnn.c

+ 4
- 0
src/nnn.c 查看文件

@@ -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


正在加载...
取消
保存