Skip to content

Commit f8c384a

Browse files
committed
Unit test cleanup2
1 parent 3743046 commit f8c384a

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

Terminal.Gui/Application/ApplicationNavigation.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@ public ApplicationNavigation ()
3030
public View? GetFocused ()
3131
{
3232
return _focused;
33-
34-
if (_focused is { CanFocus: true, HasFocus: true })
35-
{
36-
return _focused;
37-
}
38-
39-
_focused = null;
40-
41-
return null;
4233
}
4334

4435
/// <summary>

Terminal.Gui/View/View.Drawing.Primitives.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,11 @@ public void AddRune (int col, int row, Rune rune)
6767
}
6868

6969

70-
/// <summary>Adds the <paramref name="str"/> to the display at the cursor position.</summary>
70+
/// <summary>Adds the <paramref name="str"/> to the display at the current draw position.</summary>
7171
/// <remarks>
7272
/// <para>
73-
/// When the method returns, <see cref="Col"/> will be incremented by the number of columns
74-
/// <paramref name="str"/> required, unless the new column value is outside of the <see cref="Clip"/> or screen
75-
/// dimensions defined by <see cref="Cols"/>.
73+
/// When the method returns, the draw position will be incremented by the number of columns
74+
/// <paramref name="str"/> required, unless the new column value is outside the <see cref="GetClip()"/> or <see cref="Application.Screen"/>.
7675
/// </para>
7776
/// <para>If <paramref name="str"/> requires more columns than are available, the output will be clipped.</para>
7877
/// </remarks>

0 commit comments

Comments
 (0)