I would like to execute a hotkey that would erase the current line in the powershell session. Is such a thing possible?
The Clear-Host function removes all text from the current display, including commands and output that might have accumulated. When complete, it displays the command prompt. You can use the function name or its alias, cls .
erase '^?' takes the backspace provided by windows ssh. echoe forces the edit to show up on the screen. on the entry line - each backspace appended to the line with a little question mark in a box.
In the PowerShell console you use the Ctrl+Break key combination to break into the debugger.
Esc works for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With