From 41893fbe71b741d38e72293cab4498d3e8aaec51 Mon Sep 17 00:00:00 2001 From: gryf Date: Wed, 12 Dec 2018 21:30:03 +0100 Subject: [PATCH] Fix range of detected shortcut for quick switch. To quickly switch to the desired tab, there is a shortcut ctrl-0 to ctrl-9, where ctrl-0 will switch to tab 10, ctrl-1 to tab 1 and so on. There is a range in the code, which detect which tab to pick up to jump. Range was to wide, this commit is fixing that. --- tabbed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabbed b/tabbed index 78513ec..a9fd832 100644 --- a/tabbed +++ b/tabbed @@ -586,7 +586,7 @@ sub tab_key_press { return 1; } - elsif ($keysym > 0x29 and $keysym < 0x40) { + elsif ($keysym > 0x2f and $keysym < 0x40) { # make ctrl+1...0 switch to proper tab my $num = $keysym - 0x30; if ($num == 0) {