浏览代码

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

stop readline from overwriting LINES
master
Mischievous Meerkat GitHub 5 年前
父节点
当前提交
e3c99de23a
找不到此签名对应的密钥 GPG 密钥 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__


||||||
x
 
000:0
正在加载...
取消
保存