Changeset c891ed39 in mainline for console/console.c


Ignore:
Timestamp:
2006-06-09T09:03:54Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
237867d
Parents:
bd02038
Message:

Fixed bug in scrolling in cosole redrawing different virt. consoles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • console/console.c

    rbd02038 rc891ed39  
    174174        if (scr->position_y >= scr->size_y) {
    175175                scr->position_y = scr->size_y - 1;
    176                 screenbuffer_clear_line(scr, scr->top_line++);
     176                screenbuffer_clear_line(scr, scr->top_line);
     177                scr->top_line = (scr->top_line+1) % scr->size_y;
    177178                if (console == active_console)
    178179                        async_msg(fb_info.phone, FB_SCROLL, 1);
     
    261262        };
    262263       
    263         if ((!interbuffer) || (j != 0)) {
     264        if ((!interbuffer) || (rc != 0)) {
    264265                set_style(&conn->screenbuffer.style);
    265266                clrscr();
Note: See TracChangeset for help on using the changeset viewer.