9
0
Fork 0

svn_rev_497

This commit is contained in:
Sascha Hauer 2007-07-05 18:01:59 +02:00 committed by Sascha Hauer
parent f445d20103
commit 8a937c0efa
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ static void refresh_line(struct line *line, int ypos)
char *str = screenline(line->data, NULL) + scrcol;
pos(0, ypos);
str[screenwidth] = 0;
printf("%-*s", screenwidth, str);
printf("%s%c[K", str, 27);
pos(cursx, cursy);
}
@ -133,7 +133,7 @@ static void refresh(int full)
i++;
while (i < screenheight) {
pos(0, i++);
printf("%-*s", screenwidth, "~");
printf("~");
}
}