diff options
| author | Michael <[email protected]> | 2017-02-23 12:47:42 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-23 12:47:42 -0500 |
| commit | 750b776349cb96f50c4f5b0eba3662bc7da27e69 (patch) | |
| tree | 844907160e17d35f5aaf9a8fd7375ccae4e6ebe5 /ShiftOS.WinForms/Controls | |
| parent | a3fe772dbe714a0c2b0e23698e70c0436e08ba3b (diff) | |
| download | shiftos_thereturn-750b776349cb96f50c4f5b0eba3662bc7da27e69.tar.gz shiftos_thereturn-750b776349cb96f50c4f5b0eba3662bc7da27e69.tar.bz2 shiftos_thereturn-750b776349cb96f50c4f5b0eba3662bc7da27e69.zip | |
Fix the terminal. #71
Diffstat (limited to 'ShiftOS.WinForms/Controls')
| -rw-r--r-- | ShiftOS.WinForms/Controls/TerminalBox.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Controls/TerminalBox.cs b/ShiftOS.WinForms/Controls/TerminalBox.cs index 6c05027..ffc3f86 100644 --- a/ShiftOS.WinForms/Controls/TerminalBox.cs +++ b/ShiftOS.WinForms/Controls/TerminalBox.cs @@ -44,6 +44,12 @@ namespace ShiftOS.WinForms.Controls catch { } } + protected override void OnClick(EventArgs e) + { + base.OnClick(e); + this.Select(this.TextLength, 0); + } + public void Write(string text) { this.Text += Localization.Parse(text); |
