summaryrefslogtreecommitdiff
path: root/doc/api/readline.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/readline.md')
-rw-r--r--doc/api/readline.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/readline.md b/doc/api/readline.md
index 136d0e63ce..bcd68d8085 100644
--- a/doc/api/readline.md
+++ b/doc/api/readline.md
@@ -310,7 +310,7 @@ For example:
```js
rl.write('Delete this!');
// Simulate Ctrl+u to delete the line written previously
-rl.write(null, {ctrl: true, name: 'u'});
+rl.write(null, { ctrl: true, name: 'u' });
```
*Note*: The `rl.write()` method will write the data to the `readline`