Nice, I like it
Nice, I like it
I would like to have more font choices. Really not needed it's just a want.
I use and like Franklin Gothic in other apps.
Thank you YoMan for the video.
They had me at Ctrl-V! Right click to choose run as administrator.
A right click and properties on the header gives you a lot of choices now:
Tons more Keyboard shortcuts:
Selection Key Combination Description
SHIFT + LEFT ARROW Moves the cursor to the left one character, extending the selection.
SHIFT + RIGHT ARROW Moves the cursor to the right one character, extending the selection.
SHIFT + UP ARROW Selects text up line by line starting from the location of the insertion point.
SHIFT + DOWN ARROW Extends text selection down one line, starting at the location of the insertion point.
SHIFT + END If cursor is in current line being edited
First time extends selection to the last character in the input line.
Second consecutive press extends selection to the right margin.
Selects text from the insertion point to the right margin.
SHIFT + HOME If cursor is in current line being edited
First time extends selection to the character immediately after the command prompt.
Second consecutive press extends selection to the left margin.
Extends selection to the left margin.
SHIFT + PAGE DOWN Extends selection down one screen.
SHIFT + PAGE UP Extends selection up one screen.
CTRL + SHIFT + RIGHT ARROW Extends the selection one word to the right. *
CTRL + SHIFT + LEFT ARROW Extends the selection one word to the left. *
CTRL + SHIFT + HOME Extend selection to the beginning of the screen buffer.
CTRL + SHIFT + END Extend selection to the end of the screen buffer.
CTRL + A If cursor is in current line being edited and line is not emptySelects all text after the prompt.ElseSelects the entire buffer.
* Selecting one word at a time is augmented by the values in the WordDelimiters registry key. See the table of registry keys near the end of this post for details.
As I mentioned above you can now copy and paste text with the keyboard. When copying text, don’t worry that CTRL + C has always been the BREAK command. It will still send the break signal to the running application when no text is selected. The first CTRL-C copies the text and clears the selection, and the second one signals the break.
Editing Key Combination Description
CTRL + V Paste text into the command line.
CTRL + INS Copy selected text to the clipboard.
CTRL + C Copy selected text to the clipboard.
SHIFT + INS Paste text into the command line.
CTRL + X Cut selected text to the clipboard.This is not yet implemented.
Any Key when Text Selected Delete text (and replace with key if appropriate) – not yet implemented
Mark mode keys
These keys function in mark mode. You can enter this mode by right-clicking anywhere in the console title bar and choosing Edit->Mark from the context menu, or via the new shortcut combination, CTRL-M. In the legacy console, mark mode always resulted in block mode text selection. While in mark mode, you will need to hold down the ALT key at the start of a text selection command to leverage block mode in the new console. The selection key combinations detailed above are all available in mark mode. Please note that CTRL + SHIFT + ARROW operations select by character and not by word while in mark mode.
Mark Mode Key Combination Description
CTRL + M Enter “Mark Mode” to move cursor within window.
ALT In conjunction with one of the selection key combinations, begins selection in block mode.
ARROW KEYS Move cursor in the direction specified.
PAGE KEYS Move cursor by one page in the direction specified.
CTRL + HOME Move cursor to beginning of buffer.
CTRL + END Move cursor to end of buffer.
History navigation keys
Navigation Key Combination Description
CTRL + UP ARROW Moves up one line in the output history.
CTRL + DOWN ARROW Moves down one line in the output history.
CTRL + PAGE UP Moves up one page in the output history.
CTRL + PAGE DOWN Moves down one page in the output history.
CTRL + HOME Move cursor to beginning of buffer.Not implemented
CTRL + END Move cursor to end of buffer. <end of command input line>Not implemented
Other Key Combination Description
CTRL + F Open “Find” dialog.
ALT + F4 Close the console window.
High DPI awareness
Historically, console windows were not entirely usable at high resolution, especially with high-DPI displays like the Surface Pro or others available today. Starting today, if you select one of the TrueType fonts for your console window we automatically scale the font size per-monitor to an appropriate size. We’re leveraging the new SetProcessDpiAwareness() API introduced in Windows 8.1. Take a look here for more information.
One issue we have is that the Terminal font (chosen when “Raster Fonts” is selected from the Font tab in command properties) doesn’t scale proportionally with DPI and various display resolutions. As such, we leave the scaling alone for this font.
Console windows can now be semi-transparent. The console window was implemented a long, long time ago when graphics and rendering models (the original GDI, in our case) didn’t support transparency as well as they do today. As a result, we had to compromise and adjust the transparency of the entire window for this release. Just the client area would be better, but we’re taking what we can get for now!
You can adjust the alpha value via the Experimental tab in the console properties dialog or adjust it on the fly for any console window:
Transparency Combinations Description
CTRL + SHIFT + Plus (+) Increase transparency.
CTRL + SHIFT + Minus (-) Decrease transparency.
CTRL + SHIFT + (Mouse) SCROLL UP Increase transparency.
CTRL + SHIFT + (Mouse) SCROLL DOWN Decrease transparency.
Good post John, Definitely a keeper.
It seems that MS has incorporated a bunch of "standard" shortcuts in the Command Prompt.
Thanks for the tip off, John Pombrio.
Finally. I can make peace with cmd.
I thought that they meant "live" resizing (i.e. like Word or Notepad with "Word Wrap" on).
Now if the command window could remember command history from one session to the next...