]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vt: make mouse selection of non-ASCII consistent
authorAdam Borowski <kilobyte@angband.pl>
Mon, 27 Mar 2017 12:21:14 +0000 (14:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 19:39:15 +0000 (21:39 +0200)
commit7f1534e172f5eb9c215a25d73ee9ef57eb1582ba
treef545a519d38c2cb21eb4808b1e66f894a7a2eb0c
parent7d6d44aee0aed24f243a37ec525a4fcb40e6e2d4
vt: make mouse selection of non-ASCII consistent

For some reason a handful of ISO-8859-1 symbols are excluded from "word
chars" while the vast majority of Unicode is hard-coded as included, even
when inappropriate (we really would want to _not_ select line-drawing/etc).
Those symbols are: ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿×÷

Thus, let's not special-case any non-ASCII anymore.  Attempts to set these
via ioctl will be silently ignored.

As an extra bonus, we debloat the kernel by 128 bytes.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/selection.c