aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-28 07:21:16 -0400
committerMichael <[email protected]>2017-05-28 07:21:16 -0400
commit8e3bdf71e71096711f11a0d51b2b384e117391ee (patch)
tree4df860d8c7f48837a101491ce0d756a66720ff2a /ShiftOS.WinForms/Applications
parentdc0b8c66885593f7412e24bf7132bc08f6c40a9c (diff)
downloadshiftos_thereturn-8e3bdf71e71096711f11a0d51b2b384e117391ee.tar.gz
shiftos_thereturn-8e3bdf71e71096711f11a0d51b2b384e117391ee.tar.bz2
shiftos_thereturn-8e3bdf71e71096711f11a0d51b2b384e117391ee.zip
strip things down but make things better
Diffstat (limited to 'ShiftOS.WinForms/Applications')
-rw-r--r--ShiftOS.WinForms/Applications/Terminal.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ShiftOS.WinForms/Applications/Terminal.cs b/ShiftOS.WinForms/Applications/Terminal.cs
index 4cd4806..6039456 100644
--- a/ShiftOS.WinForms/Applications/Terminal.cs
+++ b/ShiftOS.WinForms/Applications/Terminal.cs
@@ -268,7 +268,8 @@ namespace ShiftOS.WinForms.Applications
{
try
{
- a.SuppressKeyPress = true;
+ if (!TerminalBackend.InStory)
+ a.SuppressKeyPress = false;
if (!TerminalBackend.PrefixEnabled)
{
string textraw = txt.Lines[txt.Lines.Length - 1];
@@ -276,9 +277,8 @@ namespace ShiftOS.WinForms.Applications
TerminalBackend.SendText(textraw);
return;
}
- Console.WriteLine("");
var text = txt.Lines.ToArray();
- var text2 = text[text.Length - 2];
+ var text2 = text[text.Length - 1];
var text3 = "";
var text4 = Regex.Replace(text2, @"\t|\n|\r", "");