unsigned CYDisplayWidth() {
struct winsize info;
if (ioctl(1, TIOCGWINSZ, &info) != -1)
unsigned CYDisplayWidth() {
struct winsize info;
if (ioctl(1, TIOCGWINSZ, &info) != -1)
std::ostringstream stream;
CYLexerHighlight(rl_line_buffer, rl_end, stream, true);
std::string string(stream.str());
std::ostringstream stream;
CYLexerHighlight(rl_line_buffer, rl_end, stream, true);
std::string string(stream.str());
CYDisplayOutput(NULL, width, buffer, point_);
}
CYDisplayMove(CYCursor());
CYDisplayOutput(NULL, width, buffer, point_);
}
CYDisplayMove(CYCursor());
CYCursor target(CYDisplayOutput(putchar, width, stream.str().c_str(), rl_point));
if (target.imag() == 0)
CYCursor target(CYDisplayOutput(putchar, width, stream.str().c_str(), rl_point));
if (target.imag() == 0)