I think I understand it now: by using asynchronous IO, handling input won't get in the way of resizing. :)