mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
- Set cursor in ctk_draw_init() to top left corner as it is called for re-initialization on Contiki exit.
This commit is contained in:
parent
1d1f3a23af
commit
c284092a53
@ -29,7 +29,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the "ctk" console GUI toolkit for cc65
|
* This file is part of the "ctk" console GUI toolkit for cc65
|
||||||
*
|
*
|
||||||
* $Id: ctk-conio.c,v 1.12 2010/02/07 21:38:01 oliverschmidt Exp $
|
* $Id: ctk-conio.c,v 1.13 2010/02/07 21:43:03 oliverschmidt Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -77,6 +77,7 @@ ctk_draw_init(void)
|
|||||||
(void)textcolor(WINDOWCOLOR_FOCUS);
|
(void)textcolor(WINDOWCOLOR_FOCUS);
|
||||||
screensize(&sizex, &sizey);
|
screensize(&sizex, &sizey);
|
||||||
ctk_draw_clear(0, sizey);
|
ctk_draw_clear(0, sizey);
|
||||||
|
gotoxy(0, 0);
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user