Releases: daikon-games/rt-shell
3.0.0
rt-shell 3.0.0 is a major release with new features and bug-fixes! Big thanks to @FaultyFunctions for major contributions to this release.
Autocomplete Hints and Metadata
You can now add metadata to any of your shell commands, allowing for argument hints and autocomplete suggestions!
You can also use this to document your commands, so the information will be available in the shell by running help myCommandName
.
Improvements to shell output
Command output is now properly line-wrapped, so your commands can print long output with no worries. You can also scroll back through all previous shell output using the mouse-wheel or trackpad on your computer.
Other Improvements
- Use the Insert key on your keyboard to toggle between normal and insert modes. In insert mode your keystrokes will overwrite text instead of inserting
- Shell can now be anchored left/center/right horizontally, and top/middle/bottom vertically
- Errors thrown by custom commands are now caught and handled, rather than crashing your game
2.2.0
This release of rt-shell allows for multi-line output from shell scripts (thanks @evolutionleo!)
It also provides new functions that can be called from outside the context of the shell:
obj_shell.open();
obj_shell.close();
So you can implement custom mechanisms for opening and closing the shell besides the keyboard combo.
2.1.0
rt-shell 2.1.0 adds the ability to configure the corner radius and anchor margin of the shell, as well as adding parameters for openFunction
and closeFunction
, functions which run when the shell is opened and closed respectively (#8). Also fixed a bug that could occur if the end-user had a global-scoped function with the same name as an internal function from rt-shell (#9).
2.0.1
2.0.0
rt-shell 2.0.0 is officially released!
New in this version are suggestions and tab completion! As you type you will see the names of available scripts suggested to you. You can press the right arrow key to accept the suggestion. You can also press tab to auto-complete up to the next possible character, and keep pressing tab to cycle through the possible suggestions that start with the characters you've typed so far.
1.0.3
This rt-shell release contains a community contribution fixing a bug that caused the cursor to lose its place when you typed very quickly.
Thanks @FaultyFunctions!