Skip to content

Commit 9ec3409

Browse files
committed
add section about default commands
1 parent 916189d commit 9ec3409

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/docs/intro.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@ $('body').terminal({
240240

241241
If you type `h` and press `<TAB>` it will complete the command and insert `ello`.
242242

243+
## Default Commands
244+
245+
When you use completion and press `<TAB>` twice, without typing anything, you will have list of
246+
commands. By default you will also have `clear` command that you can disable with `clear: false`
247+
option. There is also second default command which is exit, that appear only when you use
248+
[authentication](#???) or [nested interpreters](#???).
249+
243250
## Demo
244251

245252
import CodePen from '@site/src/CodePen';

0 commit comments

Comments
 (0)