mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-21 17:10:17 +02:00
* copy operator of TEnhancedVideoCell now copies the 8-bit foreground and background colors
This commit is contained in:
parent
61623c43ca
commit
3eae0213be
@ -113,7 +113,8 @@ end;
|
|||||||
class operator TEnhancedVideoCell.Copy(constref aSrc: TEnhancedVideoCell; var aDst: TEnhancedVideoCell);
|
class operator TEnhancedVideoCell.Copy(constref aSrc: TEnhancedVideoCell; var aDst: TEnhancedVideoCell);
|
||||||
begin
|
begin
|
||||||
aDst.ExtendedGraphemeCluster := aSrc.ExtendedGraphemeCluster;
|
aDst.ExtendedGraphemeCluster := aSrc.ExtendedGraphemeCluster;
|
||||||
aDst.Attribute := aSrc.Attribute;
|
aDst.FForegroundColor := aSrc.FForegroundColor;
|
||||||
|
aDst.FBackgroundColor := aSrc.FBackgroundColor;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Const
|
Const
|
||||||
|
Loading…
Reference in New Issue
Block a user