瀏覽代碼

Include lines calculation in redraw

master
lostd lostd 10 年之前
父節點
當前提交
4e818a3980
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      noice.c

+ 4
- 1
noice.c 查看文件

@@ -214,8 +214,11 @@ begin:
qsort(dents, n, sizeof(*dents), dentcmp);

for (;;) {
int nlines = MIN(LINES - 4, n);
int nlines;

redraw:
nlines = MIN(LINES - 4, n);

/* Clean screen */
erase();



Loading…
取消
儲存