使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
Immanuel
/
nnn
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Ignore TAB in input prompt
master
Arun Prakash Jana
7 年前
父节点
9638ed148d
当前提交
f1a27e21af
找不到此签名对应的密钥
GPG 密钥 ID:
A75979F35C080412
共有
1 个文件被更改
,包括
4 次插入
和
0 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+4
-0
nnn.c
+ 4
- 0
nnn.c
查看文件
@@ -1059,6 +1059,10 @@ xreadline(char *fname)
continue;
}
/* TAB breaks cursor position, ignore it */
if (*ch == TAB || *ch == '\t')
continue;
if (pos < buflen) {
memmove(buf + pos + 1, buf + pos, (len - pos) << 2);
buf[pos] = *ch;
撰写
预览
正在加载...
取消
保存