Subversion Repositories HelenOS-historic

Rev

Rev 602 | Rev 606 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 602 Rev 603
Line 356... Line 356...
356
        for (i=position;i<curlen;i++)
356
        for (i=position;i<curlen;i++)
357
            putchar(current[i]);
357
            putchar(current[i]);
358
        position++;
358
        position++;
359
        rdln_print_c('\b',curlen-position);
359
        rdln_print_c('\b',curlen-position);
360
    }
360
    }
-
 
361
    if (curlen) {
361
    histposition++;
362
        histposition++;
362
    histposition = histposition % KCONSOLE_HISTORY;
363
        histposition = histposition % KCONSOLE_HISTORY;
-
 
364
    }
363
    current[curlen] = '\0';
365
    current[curlen] = '\0';
364
    return current;
366
    return current;
365
}
367
}
366
 
368
 
367
/** Kernel console managing thread.
369
/** Kernel console managing thread.