Changeset 1915

Show
Ignore:
Timestamp:
11/10/08 15:44:45 (2 months ago)
Author:
batt
Message:

Merged from external project:

**********
r22606 | batt | 2008-11-08 12:50:50 +0100 (sab, 08 nov 2008) | 1 line


Remove kludge used for displaying prompt in triface.
**********

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/bertos/mware/readline.c

    r1313 r1915  
    4343 * 
    4444 * \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 
    4646 * backward (\c i>0 and similar). 
    4747 * 
     
    400400                if (c == '\r' || c == '\n') 
    401401                { 
    402                         if (ctx->prompt) 
    403                                 rl_puts(ctx, ctx->prompt); 
    404  
    405402                        // Terminate line 
    406403                        insert_chars(ctx, &ctx->line_pos, NULL, 0);