Would it be possible to extend this so that line buffering is turned off? I've looked into it but I'm a little unsure.