tutorial: enter should advance page, not exit
This commit is contained in:
parent
d6f13f56f3
commit
95e6706fed
@ -348,8 +348,9 @@ int main(int argc, char * argv[]) {
|
||||
{
|
||||
struct yutani_msg_key_event * ke = (void*)m->data;
|
||||
if (ke->event.action == KEY_ACTION_DOWN && ke->event.keycode == '\n') {
|
||||
playing = 0;
|
||||
status = 0;
|
||||
page++;
|
||||
load_page(page);
|
||||
redraw();
|
||||
} else if (ke->event.action == KEY_ACTION_DOWN && ke->event.keycode == KEY_ESCAPE) {
|
||||
playing = 0;
|
||||
status = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user