+ else if (!strcmp (buf, "reset"))
+ ctx->k->reset (ctx->k, ctx);
+ else if (!strncmp (buf, "width", 5))
+ ctx->k->set_size (ctx->k, ctx, atoi (buf + 5), 0);
+ else if (!strncmp (buf, "height", 6))
+ ctx->k->set_size (ctx->k, ctx, 0, atoi (buf + 6));
+ else
+ return -1;
+
+ return 0;
+