From: Huw Davies Subject: Re: [PATCH v2 4/8] shell32/autocomplete: Don't autocomplete at all on most control characters Message-Id: <20180921104522.GO3601@merlot.physics.ox.ac.uk> Date: Fri, 21 Sep 2018 11:45:22 +0100 In-Reply-To: References: <0d9f77e0aa067a3883af70444ae00efa535bc668.1537444354.git.gabrielopcode@gmail.com> <34e55051-197e-e84a-bfa4-6844e3c37506@codeweavers.com> On Thu, Sep 20, 2018 at 06:54:28PM +0300, Gabriel Ivăncescu wrote: > On Thu, Sep 20, 2018 at 3:51 PM, Nikolay Sivov wrote: > > Maybe filter with iscntrlW() with exceptions? > > > Do you think it's a better approach with iscntrlW? (and keep the range > between \b and \r then as the exceptions?). Unfortunately it would > still look like a semi-hack due to the exceptions which are needed, at > least for backspace and maybe tab. Not sure if it's better honestly. Yes, I think iscntrlW() would be better. Huw.