/[hurd]/hurd/libcons/vcons-refresh.c
ViewVC logotype

Diff of /hurd/libcons/vcons-refresh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by marcus, Sun Sep 22 02:05:47 2002 UTC revision 1.6 by marcus, Fri Aug 15 21:04:10 2003 UTC
# Line 1  Line 1 
1  /* vcons-refresh.c - Redraw a virtual console.  /* vcons-refresh.c - Redraw a virtual console.
2     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2002, 2003 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.
# Line 41  cons_vcons_refresh (vcons_t vcons) Line 41  cons_vcons_refresh (vcons_t vcons)
41    if (vcons->state.screen.scr_lines < vcons->scrolling)    if (vcons->state.screen.scr_lines < vcons->scrolling)
42      vcons->scrolling = vcons->scrolling;      vcons->scrolling = vcons->scrolling;
43    
44    cons_vcons_clear (vcons, vcons->state.screen.width    cons_vcons_set_dimension (vcons, vcons->state.screen.width,
45                      * vcons->state.screen.height, 0, 0);                              vcons->state.screen.height);
46    
47    if (vcons->state.screen.cur_line >= vcons->scrolling)    if (vcons->state.screen.cur_line >= vcons->scrolling)
48      start = vcons->state.screen.cur_line - vcons->scrolling;      start = vcons->state.screen.cur_line - vcons->scrolling;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26