On Monday, 20 July 2015 04:08:28 +0200, Sebastian Lackner wrote:
> On 20.07.2015 04:02, Hugh McMaster wrote:
> > + GetConsoleMode(hConsoleIn, &mode);
> > + ctx.insert = (mode & (ENABLE_INSERT_MODE|ENABLE_EXTENDED_FLAGS)) ==
> > + (ENABLE_INSERT_MODE|ENABLE_EXTENDED_FLAGS) ? 1 : 0;
>
> You can remove the " ? 1 : 0" here, the value is already BOOL.

Thanks. I've sent an updated patch.