Text now comes from the bottom of the screen.
This commit is contained in:
parent
b30c9d5f62
commit
0d16275af3
3 changed files with 257 additions and 255 deletions
2
joeyio.c
2
joeyio.c
|
@ -16,8 +16,8 @@ void clear_line(void) {
|
||||||
|
|
||||||
void clear_screen(void) {
|
void clear_screen(void) {
|
||||||
termClearScreen();
|
termClearScreen();
|
||||||
|
termMoveCursor(1, screen_rows);
|
||||||
jlDisplayPresent();
|
jlDisplayPresent();
|
||||||
termMoveCursor(1, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
2
main.c
2
main.c
|
@ -101,6 +101,8 @@ int main(void) {
|
||||||
|
|
||||||
termStart(font, 0, 0, 40, 25);
|
termStart(font, 0, 0, 40, 25);
|
||||||
termDestruciveBackspace(false);
|
termDestruciveBackspace(false);
|
||||||
|
termMoveCursor(1, 25);
|
||||||
|
termSaveCursor();
|
||||||
|
|
||||||
process_arguments("gamedata.z5");
|
process_arguments("gamedata.z5");
|
||||||
configure(V1, V8);
|
configure(V1, V8);
|
||||||
|
|
6
screen.c
6
screen.c
|
@ -183,9 +183,9 @@ void z_erase_window( zword_t w )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( h_type > V4 )
|
//if ( h_type > V4 )
|
||||||
move_cursor( 1, 1 );
|
// move_cursor( 1, 1 );
|
||||||
else
|
//else
|
||||||
move_cursor( screen_rows, 1 );
|
move_cursor( screen_rows, 1 );
|
||||||
|
|
||||||
} /* z_erase_window */
|
} /* z_erase_window */
|
||||||
|
|
Loading…
Add table
Reference in a new issue