Please sign in to comment.
Fully initialize the argument to TIOCSWINSZ
struct winsize contains fields other than ws_col and ws_row. To avoid passing uninitialized data to TIOCSWINSZ, initialize it first using TIOCGWINSZ. Found by Valgrind. (closes #85 github issue)
- Loading branch information...