1 |
/* vcons-refresh.c - Redraw a virtual console. |
/* vcons-refresh.c - Redraw a virtual console. |
2 |
Copyright (C) 2002, 2003 Free Software Foundation, Inc. |
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
3 |
Written by Marcus Brinkmann. |
Written by Marcus Brinkmann. |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
22 |
#include <assert.h> |
#include <assert.h> |
23 |
|
|
24 |
#include "cons.h" |
#include "cons.h" |
25 |
|
#include "priv.h" |
26 |
|
|
27 |
/* Redraw the virtual console VCONS, which is locked. */ |
/* Redraw the virtual console VCONS, which is locked. */ |
28 |
void |
void |
71 |
cons_vcons_set_cursor_status (vcons, vcons->state.cursor.status); |
cons_vcons_set_cursor_status (vcons, vcons->state.cursor.status); |
72 |
cons_vcons_set_scroll_lock (vcons, vcons->state.flags |
cons_vcons_set_scroll_lock (vcons, vcons->state.flags |
73 |
& CONS_FLAGS_SCROLL_LOCK); |
& CONS_FLAGS_SCROLL_LOCK); |
74 |
|
_cons_vcons_console_event (vcons, CONS_EVT_OUTPUT); |
75 |
cons_vcons_update (vcons); |
cons_vcons_update (vcons); |
76 |
} |
} |