mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-24 23:38:32 +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
|
else
|
||||||
{$endif}
|
{$endif}
|
||||||
updateTTY(force);
|
updateTTY(force);
|
||||||
|
if VideoInitialized then
|
||||||
|
begin
|
||||||
|
move(VideoBuf^,OldVideoBuf^,VideoBufSize);
|
||||||
|
end else
|
||||||
|
begin
|
||||||
for I := Low(EnhancedVideoBuf) to High(EnhancedVideoBuf) do
|
for I := Low(EnhancedVideoBuf) to High(EnhancedVideoBuf) do
|
||||||
OldEnhancedVideoBuf[I] := EnhancedVideoBuf[I];
|
OldEnhancedVideoBuf[I] := EnhancedVideoBuf[I];
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
function SysGetCapabilities: Word;
|
function SysGetCapabilities: Word;
|
||||||
|
Loading…
Reference in New Issue
Block a user