X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=tests%2Fgridtest.c;h=c33a4766add973fe3da386c46f96cdadf95e48be;hb=9688ec9cae1894f82cf615427228ea0a91e5d3ac;hp=d8922a19dac4c32c1067f35398399c4241e3bb40;hpb=3be1ae1c3d42285d7ec44509096625fe89b0d764;p=rodin%2Fchimara.git diff --git a/tests/gridtest.c b/tests/gridtest.c index d8922a1..c33a476 100644 --- a/tests/gridtest.c +++ b/tests/gridtest.c @@ -49,6 +49,15 @@ void glk_main(void) assert(buffer); fprintf(stderr, "Line input field until end of line\n"); + glk_window_move_cursor(mainwin, 10, 18); + glk_request_line_event(mainwin, buffer, 256, 0); + while(1) { + glk_select(&ev); + if(ev.type == evtype_LineInput) + break; + } + + fprintf(stderr, "Another line input field until end of line\n"); glk_window_move_cursor(mainwin, 10, 20); glk_request_line_event(mainwin, buffer, 256, 0); while(1) {