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 }