version 1.8.2.1, 2013/10/08 08:45:34
|
version 1.8.2.2, 2013/10/08 09:18:45
|
Line 93 clrscrEOL(linebuffer_t * __restrict buf)
|
Line 93 clrscrEOL(linebuffer_t * __restrict buf)
|
|
|
for (i = 0; i < buf->line_len; i++) |
for (i = 0; i < buf->line_len; i++) |
write(buf->line_out, K_SPACE, 1); |
write(buf->line_out, K_SPACE, 1); |
|
|
|
buf->line_level ^= buf->line_level; |
} |
} |
} |
} |
|
|
Line 103 printfEOL(linebuffer_t * __restrict buf, int len, int
|
Line 105 printfEOL(linebuffer_t * __restrict buf, int len, int
|
if (prompt && buf->line_prompt) { |
if (prompt && buf->line_prompt) { |
write(buf->line_out, K_CR, 1); |
write(buf->line_out, K_CR, 1); |
write(buf->line_out, buf->line_prompt, buf->line_bol); |
write(buf->line_out, buf->line_prompt, buf->line_bol); |
|
buf->line_level ^= buf->line_level; |
} |
} |
|
|
write(buf->line_out, buf->line_buf, len == -1 ? |
write(buf->line_out, buf->line_buf, len == -1 ? |
Line 125 printfNL(linebuffer_t * __restrict buf, int prompt)
|
Line 128 printfNL(linebuffer_t * __restrict buf, int prompt)
|
if (buf) { |
if (buf) { |
write(buf->line_out, K_ENTER, 1); |
write(buf->line_out, K_ENTER, 1); |
|
|
if (prompt) | if (prompt) { |
if (prompt && buf->line_prompt) |
if (prompt && buf->line_prompt) |
write(buf->line_out, buf->line_prompt, buf->line_bol); |
write(buf->line_out, buf->line_prompt, buf->line_bol); |
|
buf->line_level ^= buf->line_level; |
|
} |
} |
} |
} |
} |
|
|
Line 435 bufComp(int idx, void * __restrict cli_buffer)
|
Line 440 bufComp(int idx, void * __restrict cli_buffer)
|
c = cmd; |
c = cmd; |
strlcat(szLine, " ", STRSIZ); |
strlcat(szLine, " ", STRSIZ); |
strlcat(szLine, cmd->cmd_name, STRSIZ); |
strlcat(szLine, cmd->cmd_name, STRSIZ); |
|
buf->line_level++; |
} |
} |
} |
} |
} |
} |
Line 458 bufComp(int idx, void * __restrict cli_buffer)
|
Line 464 bufComp(int idx, void * __restrict cli_buffer)
|
c = cmd; |
c = cmd; |
strlcat(szLine, " ", STRSIZ); |
strlcat(szLine, " ", STRSIZ); |
strlcat(szLine, cmd->cmd_name, STRSIZ); |
strlcat(szLine, cmd->cmd_name, STRSIZ); |
|
buf->line_level++; |
} |
} |
} |
} |
} |
} |