This allows to correctly process GUI events during the hello_world()
test in the emulated demo.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3261
38d2e660-2303-0410-9eaa-
f027e97ec537
text_xprintf(bm, 1, 0, STYLEF_BOLD | TEXT_FILL | TEXT_CENTER,
"Hello, world!");
schedule();
text_xprintf(bm, 1, 0, STYLEF_BOLD | TEXT_FILL | TEXT_CENTER,
"Hello, world!");
schedule();
+ while (1)
+ if (kbd_peek())
+ break;
/* Restore old font */
gfx_setFont(bm, old_font);
/* Restore old font */
gfx_setFont(bm, old_font);