From: Gabriel Ivăncescu Subject: Re: [PATCH v2 4/8] shell32/autocomplete: Don't autocomplete at all on most control characters Message-Id: Date: Fri, 21 Sep 2018 14:05:33 +0300 In-Reply-To: <20180921104522.GO3601@merlot.physics.ox.ac.uk> 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 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?