File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- ## TTY
1
+ # TTY
2
2
3
3
Use ` require('tty') ` to access this module.
4
4
@@ -16,23 +16,23 @@ Example:
16
16
17
17
18
18
19
- ### tty.isatty(fd)
19
+ ## tty.isatty(fd)
20
20
21
21
Returns ` true ` or ` false ` depending on if the ` fd ` is associated with a
22
22
terminal.
23
23
24
24
25
- ### tty.setRawMode(mode)
25
+ ## tty.setRawMode(mode)
26
26
27
27
` mode ` should be ` true ` or ` false ` . This sets the properties of the current
28
28
process's stdin fd to act either as a raw device or default.
29
29
30
30
31
- ### tty.setWindowSize(fd, row, col)
31
+ ## tty.setWindowSize(fd, row, col)
32
32
33
33
This function was removed in v0.6.0.
34
34
35
- ### tty.getWindowSize(fd)
35
+ ## tty.getWindowSize(fd)
36
36
37
37
This function was removed in v0.6.0. Use ` process.stdout.getWindowSize() `
38
38
instead.
You can’t perform that action at this time.
0 commit comments