From 3f593517e198f51601b4835267b4448d710f5ef3 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Wed, 18 Dec 2019 12:05:46 +0100 Subject: [PATCH] small newline fixes, bump version --- telegram/tgcli.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/telegram/tgcli.cs b/telegram/tgcli.cs index 74d02d9..3ed8d5b 100644 --- a/telegram/tgcli.cs +++ b/telegram/tgcli.cs @@ -235,11 +235,15 @@ namespace telegram { currentInputLine = currentInputLine.Substring(0, lastIndex); if (lastIndex != 0) currentInputLine += " "; + if (currentInputLine.EndsWith("⏎")) + currentInputLine = currentInputLine.Remove(currentInputLine.Length - 1); ScreenUpdate(); return; } currentInputLine = currentInputLine.Substring(0, currentInputLine.Length - 1); + if (currentInputLine.EndsWith("⏎")) + currentInputLine = currentInputLine.Remove(currentInputLine.Length - 1); ScreenUpdate(); break; default: { @@ -297,7 +301,7 @@ namespace telegram { SystemLanguageCode = "en_US", DeviceModel = Environment.MachineName, SystemVersion = ".NET Core CLR " + Environment.Version, - ApplicationVersion = "0.1a", + ApplicationVersion = "0.2a", EnableStorageOptimizer = true, UseSecretChats = true }