Explorar o código

[TextView.ToString] Do not append the List's ToString, append the actual contents, fixes #133

miguel %!s(int64=6) %!d(string=hai) anos
pai
achega
1c613c7fbe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Terminal.Gui/Views/TextView.cs

+ 1 - 1
Terminal.Gui/Views/TextView.cs

@@ -114,7 +114,7 @@ namespace Terminal.Gui {
 		{
 			var sb = new StringBuilder ();
 			foreach (var line in lines) {
-				sb.Append (line);
+				sb.Append (ustring.Make (line).ToString ());
 				sb.AppendLine ();
 			}
 			return sb.ToString ();