void regis_enter(void)
{
- fprintf(OUT, "\033P0p\n");
+ fprintf(OUT, "\033P0p");
}
void regis_leave(void)
void regis_draw_page(int x)
{
- fprintf(OUT, "P(P%d)\n", x ? 1 : 0);
+ fprintf(OUT, "P(P%d)", x ? 1 : 0);
}
void regis_show_page(int x)
{
- fprintf(OUT, "S(P%d)\n", x ? 1 : 0);
+ fprintf(OUT, "S(P%d)", x ? 1 : 0);
}
void regis_clear(void)
{
- fprintf(OUT, "S(E)\n");
+ fprintf(OUT, "S(E)");
}
void regis_abspos(int x, int y)
void regis_absv(int x, int y)
{
- fprintf(OUT, "[%d,%d]\n", x, y);
+ fprintf(OUT, "[%d,%d]", x, y);
}
void regis_relv(int x, int y)
{
- fprintf(OUT, "[%+d,%+d]\n", x, y);
+ fprintf(OUT, "[%+d,%+d]", x, y);
}
void regis_nullv(void)
{
- fprintf(OUT, "[]\n");
+ fprintf(OUT, "[]");
}
static unsigned int cur_mode;
if(mode & REGIS_BOUNDED) {
fprintf(OUT, "(B)");
}
- fputc('\n', OUT);
cur_mode = mode;
}
if(cur_mode & REGIS_FILL) {
fputc(')', OUT);
}
- fputc('\n', OUT);
}