24 Apr
2015
24 Apr
'15
8:59 a.m.
On 24/04/2015 19:23, Yuan Yao wrote:
I try to get input via boost::nowide::cin. However, I cannot not end the stream with ^Z/^D.
It seems that nowide::details::console_input_buffer::read recognizes ^Z/^D as a regular character.
This would be a consequence of opening the stream in binary mode rather than text mode. (Text mode will only recognise ^Z.) I'm not sufficiently familiar with nowide to tell you whether this is something you can fix in the application or whether it will require a fix to nowide, or if this is intentional for some reason.