The terminal allows your users to interact with their coding environment via a command line interface.
curses (e.g. programs like
Backed by actual terminal, no simulation
If enabled, the keyboard shortcut
ctrl+c will be sent to the terminal when the Run Code button is pressed. This will display as
^C before your script in the terminal, stopping the current program execution with (if there is a program executing) before running the code.
If enabled, the terminal will be cleared before a new command is sent to it. Defaults to enabled.
If enabled, the current file's contents will be piped into the terminal (followed by a newline) when the primary button is pressed. For example, if you'd like to start a Python shell and pipe in commands, enable this. Defaults to disabled.
Each terminal tab can have its starting command configured. This will automatically launch certain software other than the default
/bin/bash. This can also be used to run a startup script, if you prefer to display the script output to the user.
To get started, just click the blue sliders at the bottom left of a terminal tab, which will open this modal:
Enter any command you would like and click Save to close the modal.