Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
There are many keyboard shortcuts for TextWindow.Read() operation. Most of these shortcut keys are the same with the command prompt. Today's code is as follows.
While "True"
TextWindow.Read()
EndWhile
Following keys are standard shortcuts (without Ctrl key shortcuts option).
Key | Function |
---|---|
Enter | Input line |
Alt+Enter | Toggle full-screen mode |
Ctrl+C | End program |
Ctrl+H | Back Space |
Ctrl+I | Tab |
Ctrl+M | Enter |
Back Space | Delete previous character |
Delete | Delete next character |
Insert | Toggle insert mode |
Home | Move cursor to beginning of line |
End | Move cursor to end of line |
Ctrl+Right Arrow | Move cursor to previous word |
Ctrl+Left Arrow | Move cursor to next word |
Right Arrow | Type a character in previous line |
Up Arrow | Previous line |
Down Arrow | Next line |
Page Up | First line |
Page Down | Last line |
F2 | Type previous line up to a character |
F3 | Type previous line to the end |
F4 | Delete characters forward up to a character |
F5 | Previous line (same as Up Arrow) |
F7 | List line buffer |
F8 | Search line buffer by a string |
F9 | Input line by its index |
In this section, it assumed that Enable Ctrl key shortcuts is enabled in Edit Options for "Command Prompt" Properties.
Key | Function |
---|---|
Ctrl+M | Mark |
Enter | Copy |
Ctrl+C | Copy (same as Enter) |
Ctrl+Insert | Copy (same as Enter) |
Ctrl+V | Paste |
Shift+Insert | Copy (same as Ctrl+V) |
Ctrl+A | Select all |
Ctrl+F | Find |
Ctrl+Shift+Plus | Decrease window transparency |
Ctrl+Shift+Minus | Increase window transparency |
Shift+Left Arrow | Select one more left character |
Shift+Right Arrow | Select one more right character |
Shift+Up Arrow | Select to the upper character |
Shift+Down Arrow | Select to the lower character |
Shift+Home | Move cursor to beginning with selecting |
Shift+End | Move cursor to end with selecting |
Shift+Up | Move cursor to top line with selecting |
Shift+Down | Move cursor to bottom line with selecting |
Ctrl+Shift+Home | Move cursor to beginning in top line with selecting |
Ctrl+Shift+End | Move cursor to end in last line with selecting |
Ctrl+Home | Delete to beginning |
Ctrl+End | Delete to end |
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in