Skip to content

Commit

Permalink
Document the delay option when typing
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricedb committed Dec 26, 2022
1 parent b7b7d46 commit e692216
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ out
node_modules
.vscode-test/
*.vsix
.dccache
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Note: Any instruction will accept a `"skip": true` settings causing it to be ign

Type some text at the current cursor position of the currently open file. The text setting can either be a string or an array of strings. In the case of an array of strings each string is entered on a new line.

This takes an optional numerical `delay` setting in ms which can be used to override the default delay between keys. This can be useful if you want to speed up or slow down the typing speed for a specific instruction.

Example:

```JSON
Expand All @@ -49,6 +51,8 @@ Example:

Type some text at the current cursor position of the currently open file. The text is read from the file indicated by the path. The path is relative to the `.presentation-buddy` folder.

This takes an optional numerical `delay` setting which can be used to override the default delay between keys. This can be useful if you want to slow down the typing speed for a specific instruction.

Example:

```JSON
Expand Down Expand Up @@ -178,7 +182,8 @@ See `.presentation-buddy\instructions.json`
" return x + y;",
" }",
"}"
]
],
"delay": 200
},
{
"type": "goto",
Expand Down
3 changes: 2 additions & 1 deletion examples/init/instructions.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
" return x + y;",
" }",
"}"
]
],
"delay": 200
},
{
"type": "goto",
Expand Down

0 comments on commit e692216

Please sign in to comment.