mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 01:38:01 +01:00
Fixes the extra characters that remains in case the new text length is smaller than the older.
This commit is contained in:
@@ -227,6 +227,7 @@ namespace Terminal.Gui {
|
||||
public virtual ustring Text {
|
||||
get => text;
|
||||
set {
|
||||
Clear (new Rect (Frame.Location, new Size (text.Length, Frame.Height)));
|
||||
text = value;
|
||||
recalcPending = true;
|
||||
SetNeedsDisplay ();
|
||||
|
||||
Reference in New Issue
Block a user