patch-2.1.44 linux/drivers/char/vc_screen.c
Next file: linux/drivers/isdn/avmb1/capiutil.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Jul 7 08:24:28 1997
- Orig file:
v2.1.43/linux/drivers/char/vc_screen.c
- Orig date:
Mon Jun 16 16:35:55 1997
diff -u --recursive --new-file v2.1.43/linux/drivers/char/vc_screen.c linux/drivers/char/vc_screen.c
@@ -237,6 +237,11 @@
func_scr_writew((func_scr_readw(org) & 0xff00) | c, org);
}
}
+#ifdef CONFIG_FB_CONSOLE
+ if (currcons == fg_console)
+ /* Horribly inefficient if count < screen size. */
+ update_screen(currcons);
+#endif
written = buf - buf0;
file->f_pos += written;
RETURN( written );
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov