summaryrefslogtreecommitdiff
path: root/Source/DafnyServer/Server.cs
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-20 19:58:46 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-20 19:58:46 -0700
commite676ad0877d31cb73a1a6bb5aae677ac64593fd6 (patch)
tree5ea6563ed11ae2df0c60de418b8036751ae9ec3c /Source/DafnyServer/Server.cs
parent24812516d64ed809d7446680a79eac492ea6a201 (diff)
Cleanup a number of FIXMEs that I had left in the code
Diffstat (limited to 'Source/DafnyServer/Server.cs')
-rw-r--r--Source/DafnyServer/Server.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/DafnyServer/Server.cs b/Source/DafnyServer/Server.cs
index e524a9a3..77840007 100644
--- a/Source/DafnyServer/Server.cs
+++ b/Source/DafnyServer/Server.cs
@@ -32,9 +32,8 @@ namespace Microsoft.Dafny {
private void SetupConsole() {
var utf8 = new UTF8Encoding(false, true);
+ Console.InputEncoding = utf8;
Console.OutputEncoding = utf8;
- Console.OutputEncoding = utf8;
- Console.CancelKeyPress += CancelKeyPress;
}
public Server() {
@@ -43,12 +42,6 @@ namespace Microsoft.Dafny {
SetupConsole();
}
- void CancelKeyPress(object sender, ConsoleCancelEventArgs e) {
- // e.Cancel = true;
- // FIXME TerminateProver and RunningProverFromCommandLine
- // Cancel the current verification? TerminateProver()? Or kill entirely?
- }
-
bool EndOfPayload(out string line) {
line = Console.ReadLine();
return line == null || line == Interaction.CLIENT_EOM_TAG;