diff --git a/Terminal.Gui/Views/TableView.cs b/Terminal.Gui/Views/TableView.cs index df4072e75..59515821d 100644 --- a/Terminal.Gui/Views/TableView.cs +++ b/Terminal.Gui/Views/TableView.cs @@ -415,9 +415,14 @@ namespace Terminal.Gui { Driver.SetAttribute (isSelectedCell ? scheme.HotFocus : scheme.Normal); Driver.AddStr (TruncateOrPad(val,representation, current.Width, colStyle)); - + + // Reset color scheme to normal for drawing separators if we drew text with custom scheme + if(scheme != ColorScheme) { + Driver.SetAttribute (isSelectedCell ? ColorScheme.HotFocus : ColorScheme.Normal); + } + // If not in full row select mode always, reset color scheme to normal and render the vertical line (or space) at the end of the cell - if(!FullRowSelect) + if (!FullRowSelect) Driver.SetAttribute (ColorScheme.Normal); RenderSeparator(current.X-1,row,false);