소스 검색

Minor reformat

master
Arun Prakash Jana 5 년 전
부모
커밋
b3f8e4e511
No known key found for this signature in database GPG 키 ID: A75979F35C080412
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      src/nnn.c

+ 4
- 4
src/nnn.c 파일 보기

@@ -4992,7 +4992,7 @@ static void redraw(char *path)

int ncols = (xcols <= PATH_MAX) ? xcols : PATH_MAX;
int onscreen = xlines - 4;
int i;
int i, attrs;
char *ptr = path;

// Fast redraw
@@ -5026,9 +5026,9 @@ static void redraw(char *path)
if (!g_ctx[i].c_cfg.ctxactive) {
addch(i + '1');
} else {
int attrs = (cfg.curctx != i)
? (COLOR_PAIR(i + 1) | A_BOLD | A_UNDERLINE) /* Active */
: (COLOR_PAIR(i + 1) | A_BOLD | A_REVERSE); /* Current */
attrs = COLOR_PAIR(i + 1) | A_BOLD
/* active: underline, current: reverse */
| ((cfg.curctx != i) ? A_UNDERLINE : A_REVERSE );
attron(attrs);
addch(i + '1');
attroff(attrs);


불러오는 중...
취소
저장