summaryrefslogtreecommitdiff
path: root/Scripts/Terminal/InputArea.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/Terminal/InputArea.cs')
-rw-r--r--Scripts/Terminal/InputArea.cs18
1 files changed, 8 insertions, 10 deletions
diff --git a/Scripts/Terminal/InputArea.cs b/Scripts/Terminal/InputArea.cs
index a32ad2c..04c0887 100644
--- a/Scripts/Terminal/InputArea.cs
+++ b/Scripts/Terminal/InputArea.cs
@@ -1,17 +1,15 @@
using Godot;
-namespace Texty.Scripts.Terminal
+namespace Texty.Scripts.Terminal;
+
+public partial class InputArea : HBoxContainer
{
- public partial class InputArea : HBoxContainer
- {
- protected Label PromptLabel => GetNodeOrNull<Label>($"%{nameof(PromptLabel)}");
- protected LineEdit TextInput => GetNodeOrNull<LineEdit>($"%{nameof(TextInput)}");
+ protected Label PromptLabel => GetNodeOrNull<Label>($"%{nameof(PromptLabel)}");
+ protected LineEdit TextInput => GetNodeOrNull<LineEdit>($"%{nameof(TextInput)}");
- public new bool HasFocus => TextInput?.HasFocus() ?? false;
+ public new bool HasFocus => TextInput?.HasFocus() ?? false;
- public virtual void OnTextEntered(string text)
- {
-
- }
+ public virtual void OnTextEntered(string text)
+ {
}
} \ No newline at end of file