mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 09:58:29 +02:00
Branch to save Enhanced video buffer or Legacy video buffer (Unix).
This commit is contained in:
parent
f3eb7f8608
commit
d1e239f3c4
@ -1233,9 +1233,15 @@ begin
|
||||
else
|
||||
{$endif}
|
||||
updateTTY(force);
|
||||
if VideoInitialized then
|
||||
begin
|
||||
move(VideoBuf^,OldVideoBuf^,VideoBufSize);
|
||||
end else
|
||||
begin
|
||||
for I := Low(EnhancedVideoBuf) to High(EnhancedVideoBuf) do
|
||||
OldEnhancedVideoBuf[I] := EnhancedVideoBuf[I];
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
function SysGetCapabilities: Word;
|
||||
|
Loading…
Reference in New Issue
Block a user