|
|
| version 1.8.2.2, 2013/10/08 09:18:45 | version 1.8.2.3, 2013/10/08 09:28:15 |
|---|---|
| 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 105 printfEOL(linebuffer_t * __restrict buf, int len, int | Line 103 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 128 printfNL(linebuffer_t * __restrict buf, int prompt) | Line 125 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 440 bufComp(int idx, void * __restrict cli_buffer) | Line 435 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 464 bufComp(int idx, void * __restrict cli_buffer) | Line 458 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++; | |
| } | } |
| } | } |
| } | } |