s/vt100_dump/vt100_getlines/g

This commit is contained in:
Julien Palard 2011-09-23 21:56:11 +02:00
parent 162a5932fc
commit e8b2632b37
3 changed files with 3 additions and 3 deletions

View File

@ -883,7 +883,7 @@ static void vt100_write(struct terminal *term_emul, char c)
vt100->x += 1;
}
const char **vt100_dump(struct terminal_vt100 *vt100)
const char **vt100_getlines(struct terminal_vt100 *vt100)
{
unsigned int y;

View File

@ -66,7 +66,7 @@ struct terminal_vt100
struct terminal_vt100 *vt100_init(void (*unimplemented)(struct terminal* term_emul, char *seq, char chr));
char vt100_get(struct terminal_vt100 *vt100, unsigned int x, unsigned int y);
const char **vt100_dump(struct terminal_vt100 *vt100);
const char **vt100_getlines(struct terminal_vt100 *vt100);
void terminal_this_destroy(struct terminal_vt100 *this);
#endif

2
test.c
View File

@ -12,7 +12,7 @@ void disp(struct vt100_headless *vt100)
unsigned int y;
const char **lines;
lines = vt100_dump(vt100->term);
lines = vt100_getlines(vt100->term);
write(1, "\n", 1);
for (y = 0; y < vt100->term->height; ++y)
{