Skip to content

Commit 8e9e416

Browse files
authored
Add support for clearing output. Closes #19 (#251)
1 parent eee9d74 commit 8e9e416

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

msgraph-developer-proxy/ProxyEngine.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,14 @@ private void ReadKeys() {
128128
if (key == ConsoleKey.R) {
129129
StartRecording();
130130
}
131-
else if (key == ConsoleKey.S) {
131+
if (key == ConsoleKey.S) {
132132
StopRecording();
133133
}
134+
if (key == ConsoleKey.C) {
135+
Console.Clear();
136+
Console.WriteLine("Press CTRL+C to stop the Microsoft Graph Developer Proxy");
137+
Console.WriteLine("");
138+
}
134139
} while (key != ConsoleKey.Escape);
135140
}
136141

0 commit comments

Comments
 (0)