[TextView] Initialize model, to avoid requiring the Text property to be set, fixes #147

This commit is contained in:
miguel
2018-12-01 12:28:46 -05:00
parent d247e9b70c
commit d16571fdc0

View File

@@ -32,7 +32,7 @@ using NStack;
namespace Terminal.Gui {
class TextModel {
List<List<Rune>> lines;
List<List<Rune>> lines = new List<List<Rune>> ();
public bool LoadFile (string file)
{