Merge pull request #1027 from BDisp/textfield-unicode-frame

Fixes #1026. TextField is redrawing over SuperView limits with unicode characters using NetDriver.
This commit is contained in:
Charlie Kindel
2020-11-30 11:54:22 -08:00
committed by GitHub

View File

@@ -211,7 +211,7 @@ namespace Terminal.Gui {
int p = first;
int col = 0;
int width = Frame.Width;
int width = Frame.Width + OffSetBackground ();
var tcount = text.Count;
var roc = new Attribute (Color.DarkGray, Color.Gray);
for (int idx = p; idx < tcount; idx++) {