Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf4700a

Browse files
committed
doc refactor: tty
1 parent c9b35b9 commit cf4700a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/api/tty.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## TTY
1+
# TTY
22

33
Use `require('tty')` to access this module.
44

@@ -16,23 +16,23 @@ Example:
1616

1717

1818

19-
### tty.isatty(fd)
19+
## tty.isatty(fd)
2020

2121
Returns `true` or `false` depending on if the `fd` is associated with a
2222
terminal.
2323

2424

25-
### tty.setRawMode(mode)
25+
## tty.setRawMode(mode)
2626

2727
`mode` should be `true` or `false`. This sets the properties of the current
2828
process's stdin fd to act either as a raw device or default.
2929

3030

31-
### tty.setWindowSize(fd, row, col)
31+
## tty.setWindowSize(fd, row, col)
3232

3333
This function was removed in v0.6.0.
3434

35-
### tty.getWindowSize(fd)
35+
## tty.getWindowSize(fd)
3636

3737
This function was removed in v0.6.0. Use `process.stdout.getWindowSize()`
3838
instead.

0 commit comments

Comments
 (0)