Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Powershell Hotkey to Erase Current Line?

I would like to execute a hotkey that would erase the current line in the powershell session. Is such a thing possible?

like image 743
MattUebel Avatar asked Aug 30 '10 14:08

MattUebel


People also ask

What does cls do in PowerShell?

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 .

How do I backspace in PowerShell?

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.

What is Ctrl break in PowerShell?

In the PowerShell console you use the Ctrl+Break key combination to break into the debugger.


1 Answers

Esc works for me

like image 174
Bahbar Avatar answered Sep 30 '22 16:09

Bahbar