English 中文(简体)
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?

最佳回答

Esc works for me

问题回答

Besides using Esc to clear the whole line, you can also use:

  • Ctrl+Home to erase from the current position back to the beginning, or

  • Ctrl+End to erase from the current position to the end.





相关问题
Caching System.Console output

We have some methods that output a lot of coloured text to the Console. It s actually a menu that is built by looping through a collection of data. Because we are writing item by item (and one line ...

console app c++

i m new to console apps and would appreciate some pointers... i have created a new console app and (not finished but it should be working), i selected win32 console app and then selected empty ...

Java prints output twice in a very specific circumstance

System.out.print("My string: "); My string: BUILD SUCCESSFUL (total time: 1 second) System.out.print("My string "); My string BUILD SUCCESSFUL (total time: 1 second) System.out.print("My string: ...

Removing pause after reading using readLine in java

I am reading several lines from the console in a java program using the readLine command from the BufferedReader class. However, the program pauses at the end of the last line and does not proceed ...

热门标签