mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
add console_set_cursor_position()
This commit is contained in:
parent
afa4db753e
commit
bc2f989dd6
@ -107,4 +107,9 @@ void console_video_normal(void)
|
||||
{
|
||||
printf("\033[27m");
|
||||
}
|
||||
|
||||
void console_set_cursor_position(int x, int y)
|
||||
{
|
||||
printf("\033[%d;%dH", y, x);
|
||||
}
|
||||
#endif
|
||||
|
@ -25,6 +25,7 @@ extern void console_cursor_save(void);
|
||||
extern void console_cursor_restore(void);
|
||||
extern void console_video_inverse(void);
|
||||
extern void console_video_normal(void);
|
||||
extern void console_set_cursor_position(int x, int y);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user