mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
[TextView] Initialize model, to avoid requiring the Text property to be set, fixes #147
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user