diff --git a/osu.Game/Graphics/UserInterface/HistoryTextBox.cs b/osu.Game/Graphics/UserInterface/HistoryTextBox.cs
index e9da67e553..5d2cd18e9b 100644
--- a/osu.Game/Graphics/UserInterface/HistoryTextBox.cs
+++ b/osu.Game/Graphics/UserInterface/HistoryTextBox.cs
@@ -7,6 +7,12 @@ using osuTK.Input;
namespace osu.Game.Graphics.UserInterface
{
+ ///
+ /// A which additionally retains a history of text committed, up to a limit
+ /// (100 by default, specified in constructor).
+ /// The history of committed text can be navigated using up/down arrows.
+ /// This resembles the operation of command-line terminals.
+ ///
public class HistoryTextBox : FocusedTextBox
{
private readonly LimitedCapacityQueue messageHistory;
@@ -18,6 +24,13 @@ namespace osu.Game.Graphics.UserInterface
private string originalMessage = string.Empty;
private bool everythingSelected;
+ ///
+ /// Creates a new .
+ ///
+ ///
+ /// The maximum number of committed lines to keep in history.
+ /// When exceeded, the oldest lines in history will be dropped to make space for new ones.
+ ///
public HistoryTextBox(int capacity = 100)
{
messageHistory = new LimitedCapacityQueue(capacity);