![]() Using ↓ or PageDown or Ctrl+N when the history entry is selected will restore the original command. Select the next oldest history entry: ↑ or PageUp or Ctrl+P.Select the next newest history entry: ↓ or PageDown or Ctrl+N.The console keeps a record of previously executed commands which can be browsed similar to suggestions: This works even if there is already a command entered, in which case it will replace any existing context entity id but leave the rest of the command alone. Insert one character from auto-completion: → or Ctrl+F (if cursor is at the end)Īdditionally, the selected entity (using mouse click) will be available for completion using Tab or Ctrl+I if the cursor is at the start of the line.If the cursor is not at the end of the line, the selected suggestion will be merged with the orignal line.Īdditionally, the console is able to automatically complete the prefix that is the same for all suggestions: Using Tab, editing the command or moving the cursor in any way will finalize the selection and show new suggestions based on that. Using ↑', PageUp or Ctrl+P when the first suggestion is selected will restore the original command. Select the previous suggestion: ↑ or PageUp or Ctrl+P.Select the next suggestion: ↓ or PageDown or Ctrl+N.Suggestions will be shown below the command-line whenever the cursor is at least one character into the context entity id or command name. If the clipboard contains multiple lines, all of them except for the last one will be immediately executed. Erase everything to the right: Ctrl+Shift+Delete Ctrl+K.Erase everything to the left: Ctrl+Shift+Backspace or Ctrl+U.Erase the word right of the cursor: Ctrl+Delete.Erase the word left of the cursor: Ctrl+Backspace or Ctrl+W.Erase the character right of the cursor: Delete or Ctrl+D.Erase the character left of the cursor: Backspace or Ctrl+H.Pasting commands using Ctrl+V which have newlines at the end.Run command and move cursor to the end: Ctrl+O.Run command and clear line: Enter or Ctrl+J.Move to the end: End or Ctrl+E or Shift+→.Move to the start: Home or Ctrl+A or Shift+←.The console can be exited at any time using the Esc key. Other hotkeys and mouse input are not blocked. While the console is open, any hotkeys that generate text input no longer work. The console implements a number of features and readline-like hotkeys common in various shells as well as auto-completions for the context entities and command names. If no entity is specified, the player entity will be used. Script commands can be preceded by an entity ID followed by a period (.) to specify the context for the command. Others can be discovered using the console's suggestion and auto-complete features or by browsing the source code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |