Repository: microsoft/terminal (language: cpp)

Issue:
DxEngine fails to draw gridlines since 62c95b5
### Windows Terminal version

1.13.10181.0

### Windows build number

10.0.22540.0

### Expected Behavior

![image](https://user-images.githubusercontent.com/2256941/150685639-d0ef105a-da12-4364-abfc-5ca7a8d36c1c.png)

### Actual Behavior

![image](https://user-images.githubusercontent.com/2256941/150685608-d96976b0-7cf3-4621-93b9-ea267fde60b5.png)


Discussion / hints:

Fix patch:
diff --git a/src/renderer/dx/DxRenderer.cpp b/src/renderer/dx/DxRenderer.cpp
index d4a5f6ba3d4..a0225fa6710 100644
--- a/src/renderer/dx/DxRenderer.cpp
+++ b/src/renderer/dx/DxRenderer.cpp
@@ -1705,7 +1705,7 @@ try
     const auto existingColor = _d2dBrushForeground->GetColor();
     const auto restoreBrushOnExit = wil::scope_exit([&]() noexcept { _d2dBrushForeground->SetColor(existingColor); });
 
-    _d2dBrushForeground->SetColor(_ColorFFromColorRef(color));
+    _d2dBrushForeground->SetColor(_ColorFFromColorRef(color | 0xff000000));
 
     const D2D1_SIZE_F font = _fontRenderData->GlyphCell().to_d2d_size();
     const D2D_POINT_2F target = { coordTarget.X * font.width, coordTarget.Y * font.height };


Test patch: