From: Huw Davies Subject: Re: [PATCH v2 4/8] shell32/autocomplete: Don't autocomplete at all on most control characters Message-Id: <20180921113206.GQ3601@merlot.physics.ox.ac.uk> Date: Fri, 21 Sep 2018 12:32:06 +0100 In-Reply-To: References: <0d9f77e0aa067a3883af70444ae00efa535bc668.1537444354.git.gabrielopcode@gmail.com> <34e55051-197e-e84a-bfa4-6844e3c37506@codeweavers.com> <20180921104522.GO3601@merlot.physics.ox.ac.uk> On Fri, Sep 21, 2018 at 02:05:33PM +0300, Gabriel Ivăncescu wrote: > On Fri, Sep 21, 2018 at 1:45 PM, Huw Davies wrote: > > > > Yes, I think iscntrlW() would be better. > > > > Huw. > > Something like this? > > iscntrlW(wParam) && !(wParam >= '\b' && wParam <= '\r') > > Or do you have other exceptions in mind? How many exceptions (to iscntrlW()) do you actually need? Huw.