The `WINDOW` struct has no member named `width` in ncurses. See http://paste.ubuntu.com/6508585/ with the note that the struct named `_win_st` is what ultimately becomes `WINDOW`.