no need to initialise the data structures explicitly - will be done in first updateSize call
free inputs once they have been fully printed
Use a #define for the max line length
Remove old commented out code
Use ncurses getstr() to read from stdin so reading is non-blocking

Read into a bugger first, rather than straight into a input struct, so we
can check if the read succeeded before allocating the struct.