Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: add some headers to make it more legible
Browse files Browse the repository at this point in the history
  • Loading branch information
josher19 authored and bnoordhuis committed Apr 18, 2012
1 parent 079b813 commit 20143b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/readline.markdown
Expand Up @@ -124,6 +124,8 @@ Writes to `output` stream.

This will also resume the `input` stream if it has been paused.

## Events

### Event: 'line'

`function (line) {}`
Expand Down Expand Up @@ -236,6 +238,8 @@ Example of listening for `SIGCONT`:
});


## Example: Tiny CLI

Here's an example of how to use all these together to craft a tiny command
line interface:

Expand Down

0 comments on commit 20143b3

Please sign in to comment.