浏览代码
Use underline to show cur dir
master
Arun Prakash Jana
6 年前
找不到此签名对应的密钥
GPG 密钥 ID: A75979F35C080412
共有
1 个文件被更改,包括
2 次插入 和
2 次删除
-
nnn.c
|
|
@@ -2318,11 +2318,11 @@ redraw(char *path) |
|
|
|
if (ncols > PATH_MAX) |
|
|
|
ncols = PATH_MAX; |
|
|
|
|
|
|
|
attron(A_REVERSE); |
|
|
|
attron(A_UNDERLINE); |
|
|
|
/* No text wrapping in cwd line */ |
|
|
|
g_buf[ncols - 1] = '\0'; |
|
|
|
printw("%s\n\n", g_buf); |
|
|
|
attroff(A_REVERSE); |
|
|
|
attroff(A_UNDERLINE); |
|
|
|
|
|
|
|
/* Fallback to light mode if less than 35 columns */ |
|
|
|
if (ncols < 35 && cfg.showdetail) { |
|
|
|