Skip to content

Commit

Permalink
Fixes nodejs#2160. Fix tty.getWindowSize docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Nov 22, 2011
1 parent 7defbd2 commit 6035651
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/tty.markdown
Expand Up @@ -30,11 +30,11 @@ process's stdin fd to act either as a raw device or default.


### tty.setWindowSize(fd, row, col) ### tty.setWindowSize(fd, row, col)


`ioctl`s the window size settings to the file descriptor. This function was removed in v0.6.0.



### tty.getWindowSize(fd) ### tty.getWindowSize(fd)


Returns `[row, col]` for the TTY associated with the file descriptor. This function was removed in v0.6.0. Use `process.stdout.getWindowSize()`
instead.




0 comments on commit 6035651

Please sign in to comment.