Subversion Repositories HelenOS

Rev

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

Rev 3710 Rev 3715
Line 576... Line 576...
576
    /* Do not hide cursor if we are going to overwrite it */
576
    /* Do not hide cursor if we are going to overwrite it */
577
    if ((vport->cursor_active) && (vport->cursor_shown) &&
577
    if ((vport->cursor_active) && (vport->cursor_shown) &&
578
        ((vport->cur_col != col) || (vport->cur_row != row)))
578
        ((vport->cur_col != col) || (vport->cur_row != row)))
579
        cursor_hide(vport);
579
        cursor_hide(vport);
580
   
580
   
581
    uint8_t glyph = vport->backbuf[BB_POS(vport, col, row)];
-
 
582
   
-
 
583
    if (glyph != c) {
-
 
584
        vport->backbuf[BB_POS(vport, col, row)] = c;
581
    vport->backbuf[BB_POS(vport, col, row)] = c;
585
        draw_glyph(vport, false, col, row);
582
    draw_glyph(vport, false, col, row);
586
    }
-
 
587
   
583
   
588
    vport->cur_col = col;
584
    vport->cur_col = col;
589
    vport->cur_row = row;
585
    vport->cur_row = row;
590
   
586
   
591
    vport->cur_col++;
587
    vport->cur_col++;