本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
Immanuel
/
nnn
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
Ignore TAB in input prompt
master
Arun Prakash Jana
8 年之前
父節點
9638ed148d
當前提交
f1a27e21af
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID:
A75979F35C080412
共有
1 個檔案被更改
,包括
4 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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;
Write
Preview
Loading…
取消
儲存