Revert "vt: fix background color on line feed"
This reverts commitc9e587abfd
, and the subsequent commits that fixed it up: -afa9b649
"fbcon: prevent cursor disappearance after switching to 512 character font" -d850a2fa
"vt/fbcon: fix background color on line feed" -7fe3915a
"vt/fbcon: update scrl_erase_char after 256/512-glyph font switch" by request of Alan Cox. Quoth Alan: "Unfortunately it's wrong and its been causing breakages because various apps like ncurses expect our previous (and correct) behaviour." Alexander sent out a similar patch. Requested-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Tested-by: Jan Engelhardt <jengelh@medozas.de> Cc: Alexander V. Lukyanov <lav@netis.ru> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -533,7 +533,7 @@ static void mdacon_cursor(struct vc_data *c, int mode)
|
||||
|
||||
static int mdacon_scroll(struct vc_data *c, int t, int b, int dir, int lines)
|
||||
{
|
||||
u16 eattr = mda_convert_attr(c->vc_scrl_erase_char);
|
||||
u16 eattr = mda_convert_attr(c->vc_video_erase_char);
|
||||
|
||||
if (!lines)
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user