projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
See previous commit
[rodin/chimara.git]
/
tests
/
gridtest.c
diff --git
a/tests/gridtest.c
b/tests/gridtest.c
index d8922a19dac4c32c1067f35398399c4241e3bb40..c33a4766add973fe3da386c46f96cdadf95e48be 100644
(file)
--- 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");
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) {
glk_window_move_cursor(mainwin, 10, 20);
glk_request_line_event(mainwin, buffer, 256, 0);
while(1) {