Changeset 1915
- Timestamp:
- 11/10/08 15:44:45 (2 months ago)
- Files:
-
- trunk/bertos/mware/readline.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bertos/mware/readline.c
r1313 r1915 43 43 * 44 44 * \li The first character in the history is always \c \\0, and it is used as a guard. By 'wasting' it 45 * in this way, the code actually gets much simpler in that we remove many checks when moving 45 * in this way, the code actually gets much simpler in that we remove many checks when moving 46 46 * backward (\c i>0 and similar). 47 47 * … … 400 400 if (c == '\r' || c == '\n') 401 401 { 402 if (ctx->prompt)403 rl_puts(ctx, ctx->prompt);404 405 402 // Terminate line 406 403 insert_chars(ctx, &ctx->line_pos, NULL, 0);
