Skip to content

Commit

Permalink
add section about default commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Dec 19, 2024
1 parent 916189d commit 9ec3409
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/docs/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,13 @@ $('body').terminal({

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

## Default Commands

When you use completion and press `<TAB>` twice, without typing anything, you will have list of
commands. By default you will also have `clear` command that you can disable with `clear: false`
option. There is also second default command which is exit, that appear only when you use
[authentication](#???) or [nested interpreters](#???).

## Demo

import CodePen from '@site/src/CodePen';
Expand Down

0 comments on commit 9ec3409

Please sign in to comment.