summaryrefslogtreecommitdiff
path: root/MERCHANDISE
diff options
context:
space:
mode:
authorcos <cos>2013-06-05 21:36:29 +0200
committercos <cos>2014-03-02 20:30:04 +0100
commit4c2a7e2167292e3aa40398f0e31b04af93853fc5 (patch)
treec7a610ce930eec17a00ca51c2bf438a4e367edbc /MERCHANDISE
parent3cee18b208f1c8e3147b13148130ba12a7dcf6e2 (diff)
downloadratpoison-4c2a7e2167292e3aa40398f0e31b04af93853fc5.zip
Allow exact matching with gselect.fix/gselect_exact_match
When having two groups where the second one's name partially matches the name of the first one, it is hard to gselect the second one. Similarly it is not possible to select groups with fully numerical names. e.g. If having the group list: 0-default 1*other 2-de 3-0 The user expactation when typing ":gselect de" or ":gselect 0" would likely be to select group number 2 & group number 3 respectively. This commit modifies the behaviour of gselect, to primarily select the group with an exactly matching name if possible, before trying numerical or partial matches.
Diffstat (limited to 'MERCHANDISE')
0 files changed, 0 insertions, 0 deletions