Changeset 7bc1e74 in mainline


Ignore:
Timestamp:
2006-06-04T14:47:34Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
759c376
Parents:
1160f8d
Message:

Small untested fixes in console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • console/console.c

    r1160f8d r7bc1e74  
    256256        conn = &connections[active_console];
    257257
    258         curs_visibility(0);
     258        set_style(&conn->screenbuffer.style);
     259        curs_goto(conn->screenbuffer.position_y, conn->screenbuffer.position_x);
    259260        if (interbuffer) {
    260261                for (i = 0; i < conn->screenbuffer.size_x; i++)
    261262                        for (j = 0; j < conn->screenbuffer.size_y; j++)
    262263                                interbuffer[i + j*conn->screenbuffer.size_x] = *get_field_at(&(conn->screenbuffer),i, j);
    263                
     264                /* This call can preempt, but we are already at the end */
    264265                sync_send_2(fb_info.phone, FB_DRAW_TEXT_DATA, 0, 0, NULL, NULL);               
    265266        } else {
     267                curs_visibility(0);
    266268                clrscr();
    267269               
     
    273275                        }
    274276               
    275         }
    276         curs_goto(conn->screenbuffer.position_y, conn->screenbuffer.position_x);
    277         set_style(&conn->screenbuffer.style);
    278         curs_visibility(1);
     277                curs_visibility(1);
     278        }
    279279}
    280280
     
    376376                       
    377377                        screenbuffer_goto(&(connections[consnum].screenbuffer), IPC_GET_ARG2(call), IPC_GET_ARG1(call));
     378                        curs_goto(IPC_GET_ARG1(call),IPC_GET_ARG2(call));
    378379                       
    379380                        break;
Note: See TracChangeset for help on using the changeset viewer.