On Thu, Sep 20, 2018 at 3:51 PM, Nikolay Sivov nsivov@codeweavers.com wrote:
Maybe filter with iscntrlW() with exceptions?
I only tried to avoid most of the CTRL+something control characters. I see iscntrlW deals with Unicode table (probably some unicode-specific control chars as well). So I think the current method has less implications, but that depends on my understanding of it.
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.