summaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2017-03-27 08:21:13 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-11 15:39:14 -0400
commit7d6d44aee0aed24f243a37ec525a4fcb40e6e2d4 (patch)
tree4eeae3c38fd9412e575b6db354d81b2a6f2aed6a /drivers/tty/vt
parent18a4208826dd0a13eb06de724c86bba2c225f943 (diff)
vt: set mouse selection word-chars to gpm's default
Since forever, gpm was this code's only user, and it overrides the table on start so the default was never seen -- until Bill Allombert's "consolation" came in. The in-kernel set is "A-Za-z0-9_" which fails to catch typical file names, etc. Let's change this to gpm's conservative default, ie "-A-Za-z0-9_./"; most terminals include more, for example xfce4-terminal has "-A-Za-z0-9,./?%&#:_=+@~". There's some discussion at https://bugs.debian.org/846587 Signed-off-by: Adam Borowski <kilobyte@angband.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt')
-rw-r--r--drivers/tty/vt/selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/vt/selection.c b/drivers/tty/vt/selection.c
index 36e1b8c7680f..2252e11d8347 100644
--- a/drivers/tty/vt/selection.c
+++ b/drivers/tty/vt/selection.c
@@ -84,7 +84,7 @@ void clear_selection(void)
84 */ 84 */
85static u32 inwordLut[8]={ 85static u32 inwordLut[8]={
86 0x00000000, /* control chars */ 86 0x00000000, /* control chars */
87 0x03FF0000, /* digits */ 87 0x03FFE000, /* digits and "-./" */
88 0x87FFFFFE, /* uppercase and '_' */ 88 0x87FFFFFE, /* uppercase and '_' */
89 0x07FFFFFE, /* lowercase */ 89 0x07FFFFFE, /* lowercase */
90 0x00000000, 90 0x00000000,