Use + instead of | to separate modifiers
Although | makes more logical sense, it has another meaning in most shells.
This commit is contained in:
parent
7cadd40051
commit
c63420cf45
@ -62,7 +62,7 @@ pub fn map(
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Parse the modifiers
|
// Parse the modifiers
|
||||||
var it = std.mem.split(args[2], "|");
|
var it = std.mem.split(args[2], "+");
|
||||||
var modifiers: u32 = 0;
|
var modifiers: u32 = 0;
|
||||||
while (it.next()) |mod_name| {
|
while (it.next()) |mod_name| {
|
||||||
for (modifier_names) |def| {
|
for (modifier_names) |def| {
|
||||||
|
Loading…
Reference in New Issue
Block a user