From 6db8459222282a08062fca8e7c8a21db5de64982 Mon Sep 17 00:00:00 2001 From: mysticbbs Date: Fri, 17 Aug 2012 14:49:09 -0400 Subject: [PATCH] ClearEOL fix (wasnt adding to virtual console buffer) --- mdl/m_output_darwin.pas | 2 +- mdl/m_output_linux.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mdl/m_output_darwin.pas b/mdl/m_output_darwin.pas index 6e4bc21..a73043d 100644 --- a/mdl/m_output_darwin.pas +++ b/mdl/m_output_darwin.pas @@ -310,7 +310,7 @@ Var Begin BufAddStr(#27 + '[K'); - Fill.Attributes := 7; + Fill.Attributes := FTextAttr; Fill.UnicodeChar := ' '; FillWord (Buffer[CursorY][CursorX], (80 - CursorX) * 2, Word(Fill)); diff --git a/mdl/m_output_linux.pas b/mdl/m_output_linux.pas index 57158eb..6a4f076 100644 --- a/mdl/m_output_linux.pas +++ b/mdl/m_output_linux.pas @@ -312,7 +312,7 @@ Var Begin BufAddStr(#27 + '[K'); - Fill.Attributes := 7; + Fill.Attributes := FTextAttr; Fill.UnicodeChar := ' '; FillWord (Buffer[CursorY][CursorX], (80 - CursorX) * 2, Word(Fill));