Change type name to be more NEP-1-ish as per Araq request.

This commit is contained in:
Charles Blake 2016-09-01 08:33:39 -04:00
commit 8df2078f08
2 changed files with 3 additions and 3 deletions

View file

@ -156,7 +156,7 @@ else:
proc terminalWidthIoctl*(fds: openArray[int]): int =
## Returns terminal width from first fd that supports the ioctl.
var win: ioctl_winsize
var win: IOctl_WinSize
for fd in fds:
if ioctl(cint(fd), TIOCGWINSZ, addr win) != -1:
return int(win.ws_col)