瀏覽代碼

Merge pull request #309 from 0xACE/readline-resize

stop readline from overwriting LINES
master
Mischievous Meerkat GitHub 5 年之前
父節點
當前提交
e3c99de23a
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      src/nnn.c

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

@@ -4783,6 +4783,10 @@ int main(int argc, char *argv[])
setlocale(LC_ALL, "");

#ifndef NORL
#if RL_READLINE_VERSION >= 0x0603
/* readline would overwrite the WINCH signal hook */
rl_change_environment = 0;
#endif
/* Bind TAB to cycling */
rl_variable_bind("completion-ignore-case", "on");
#ifdef __linux__


Loading…
取消
儲存