diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-18 08:46:35 -0700 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-18 08:46:35 -0700 |
commit | 4b3fc0e7413424e27131dd8dd919423711f097ad (patch) | |
tree | 2f58d3296c29fdbd51e5139e67ad9f5a36681d9f /Source/DafnyServer/Server.cs | |
parent | db9821ac440cdfa817049ab83c2e94f861ff429d (diff) |
Use a nice warning symbol in some warning messages
This is useful because trigger-related messages can contain quite a bit of
information, especially if they include info about multiple split quantifiers.
Diffstat (limited to 'Source/DafnyServer/Server.cs')
-rw-r--r-- | Source/DafnyServer/Server.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/DafnyServer/Server.cs b/Source/DafnyServer/Server.cs index 74cdd8c2..bdfd66b4 100644 --- a/Source/DafnyServer/Server.cs +++ b/Source/DafnyServer/Server.cs @@ -33,11 +33,13 @@ namespace Microsoft.Dafny { public Server() {
this.running = true;
Console.CancelKeyPress += this.CancelKeyPress;
+ Console.InputEncoding = System.Text.Encoding.UTF8;
+ Console.OutputEncoding = System.Text.Encoding.UTF8;
ExecutionEngine.printer = new DafnyConsolePrinter();
}
void CancelKeyPress(object sender, ConsoleCancelEventArgs e) {
- e.Cancel = true;
+ // e.Cancel = true;
// FIXME TerminateProver and RunningProverFromCommandLine
// Cancel the current verification? TerminateProver() ? Or kill entirely?
}
|