Subversion Repositories HelenOS-historic

Rev

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

Rev 1616 Rev 1630
Line 241... Line 241...
241
    active_console = newcons;
241
    active_console = newcons;
242
    gcons_change_console(newcons);
242
    gcons_change_console(newcons);
243
    conn = &connections[active_console];
243
    conn = &connections[active_console];
244
 
244
 
245
    set_style(&conn->screenbuffer.style);
245
    set_style(&conn->screenbuffer.style);
246
    curs_goto(conn->screenbuffer.position_y, conn->screenbuffer.position_x);
-
 
247
    curs_visibility(0);
246
    curs_visibility(0);
248
    if (interbuffer) {
247
    if (interbuffer) {
249
        for (i = 0; i < conn->screenbuffer.size_x; i++)
248
        for (i = 0; i < conn->screenbuffer.size_x; i++)
250
            for (j = 0; j < conn->screenbuffer.size_y; j++)
249
            for (j = 0; j < conn->screenbuffer.size_y; j++)
251
                interbuffer[i + j*conn->screenbuffer.size_x] = *get_field_at(&(conn->screenbuffer),i, j);
250
                interbuffer[i + j*conn->screenbuffer.size_x] = *get_field_at(&(conn->screenbuffer),i, j);
Line 269... Line 268...
269
 
268
 
270
                prtchr(field->character, j, i);
269
                prtchr(field->character, j, i);
271
            }
270
            }
272
    }
271
    }
273
   
272
   
-
 
273
    curs_goto(conn->screenbuffer.position_y, conn->screenbuffer.position_x);
274
    curs_visibility(conn->screenbuffer.is_cursor_visible);
274
    curs_visibility(conn->screenbuffer.is_cursor_visible);
275
}
275
}
276
 
276
 
277
/** Handler for keyboard */
277
/** Handler for keyboard */
278
static void keyboard_events(ipc_callid_t iid, ipc_call_t *icall)
278
static void keyboard_events(ipc_callid_t iid, ipc_call_t *icall)