private void Update(SelectableLabel lbl) { if(this._Terminal == null) return; this._LableItems.AddChild(lbl, this._Style.LableHeight); this._ScrollContainer.ClientHeight = this.Buffer.Count * this._Style.LableHeight; }
/// <summary> /// Push a message to the terminal. /// </summary> public void Write(string Message) { SelectableLabel lbl = new SelectableLabel(Message); this.Buffer.Enqueue(lbl); this.Update(lbl); }