27 Sep
2022
27 Sep
'22
6:54 a.m.
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 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/930#note_9349