libaltos: cjnitest needs altos_flush now
authorKeith Packard <keithp@keithp.com>
Mon, 30 Aug 2010 04:45:19 +0000 (21:45 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 30 Aug 2010 04:45:19 +0000 (21:45 -0700)
ao-tools/libaltos/cjnitest.c

index 93d1f3763cf13cae66c35686bf11c6e2d48f31e6..c6d6e069c1f188cd56666292236e5c1f083c7dbb 100644 (file)
@@ -30,6 +30,7 @@ main ()
                        continue;
                }
                altos_puts(file,"v\nc s\n");
                        continue;
                }
                altos_puts(file,"v\nc s\n");
+               altos_flush(file);
                while ((c = altos_getchar(file, 100)) >= 0) {
                        putchar (c);
                }
                while ((c = altos_getchar(file, 100)) >= 0) {
                        putchar (c);
                }