Hi Hugh,
I don't think sending two requests to conhost to get the title is the best approach I'd rather return the length + string in one ioctl. That will of course require a buffer allocation & copy of the returned string, but IMO it's a) way faster than two ioctl round trips, b) and moreover simpler to follow (no sub ioctl code in request...) my 2 cents