case CYIgnoreStart:
CYDisplayOutput_(put, data);
- ++offset;
- break;
-
case CYIgnoreEnd:
++offset;
break;
}
}
-
- return point;
}
void CYDisplayMove_(char *negative, char *positive, int offset) {
CYDisplayMove(CYCursor());
CYDisplayOutput(putchar, width, prompt);
-
CYCursor target(CYDisplayOutput(putchar, width, stream.str().c_str(), rl_point));
- if (target.imag() == 0)
- putp(cursor_down);
+ if (current_.imag() == 0)
+ CYDisplayOutput(putchar, width, " ");
putp(clr_eos);
- CYDisplayMove(target);
+ CYDisplayMove(target);
fflush(stdout);
width_ = width;