mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-28 08:47:59 +01:00
Add unit test which already works in TextField.
This commit is contained in:
@@ -2047,4 +2047,18 @@ Les Miśerables",
|
||||
Assert.True (t.Visible);
|
||||
Assert.False (t.Autocomplete.Visible);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[AutoInitShutdown]
|
||||
public void Draw_Esc_Rune ()
|
||||
{
|
||||
var tf = new TextField { Width = 5, Text = "\u001b" };
|
||||
tf.BeginInit ();
|
||||
tf.EndInit ();
|
||||
tf.Draw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre ("\u241b", output);
|
||||
|
||||
tf.Dispose ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user